aboutsummaryrefslogtreecommitdiff
path: root/src/gradle/devcontainer-feature.json
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-06-15 22:14:28 +0300
committerGitHub <noreply@github.com>2022-06-15 22:14:28 +0300
commit123ca4650aac072448cb7681e80d3573129ace98 (patch)
tree30fe9100da1a18a97ed31d641b26ec143828af67 /src/gradle/devcontainer-feature.json
parent0ed472aa25bd1a21acf431cbb85b7528ff0cf10a (diff)
add gradle feature
Diffstat (limited to 'src/gradle/devcontainer-feature.json')
-rw-r--r--src/gradle/devcontainer-feature.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/gradle/devcontainer-feature.json b/src/gradle/devcontainer-feature.json
new file mode 100644
index 0000000..71d9e62
--- /dev/null
+++ b/src/gradle/devcontainer-feature.json
@@ -0,0 +1,29 @@
+{
+ "id": "gradle",
+ "name": "Gradle (via SDKMAN!)",
+ "options": {
+ "version": {
+ "type": "string",
+ "proposals": [
+ "latest",
+ "none",
+ "7",
+ "6",
+ "5"
+ ],
+ "default": "latest",
+ "description": "Select or enter a Gradle version to install"
+ }
+ },
+ "extensions": [
+ "vscjava.vscode-java-pack"
+ ],
+ "containerEnv": {
+ "SDKMAN_DIR": "${SDKMAN_DIR:-\"/usr/local/sdkman\"}",
+ "PATH": "${SDKMAN_DIR}/bin:${SDKMAN_DIR}/candidates/gradle/current/bin:${PATH}"
+ },
+ "install": {
+ "app": "",
+ "file": "install.sh"
+ }
+}