aboutsummaryrefslogtreecommitdiff
path: root/src/gradle/devcontainer-feature.json
diff options
context:
space:
mode:
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"
+ }
+}