aboutsummaryrefslogtreecommitdiff
path: root/src/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java')
-rw-r--r--src/java/devcontainer-feature.json18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/java/devcontainer-feature.json b/src/java/devcontainer-feature.json
index e95fe72..a67ca2f 100644
--- a/src/java/devcontainer-feature.json
+++ b/src/java/devcontainer-feature.json
@@ -1,6 +1,6 @@
{
"id": "java",
- "version": "1.0.2",
+ "version": "1.0.3",
"name": "Java (via SDKMAN!)",
"description": "Installs Java, SDKMAN! (if not installed), and needed dependencies.",
"options": {
@@ -28,16 +28,20 @@
}
},
"buildArg": "_VSC_INSTALL_JAVA",
- "extensions": [
- "vscjava.vscode-java-pack"
- ],
+ "customizations": {
+ "vscode": {
+ "extensions": [
+ "vscjava.vscode-java-pack"
+ ],
+ "settings": {
+ "java.import.gradle.java.home": "/usr/local/sdkman/candidates/java/current"
+ }
+ }
+ },
"containerEnv": {
"SDKMAN_DIR": "/usr/local/sdkman",
"GRADLE_USER_HOME": "${HOME}/.gradle",
"M2": "${HOME}/.m2",
"PATH": "${SDKMAN_DIR}/bin:${SDKMAN_DIR}/candidates/java/current/bin:${SDKMAN_DIR}/candidates/gradle/current/bin:${SDKMAN_DIR}/candidates/maven/current/bin:${PATH}"
- },
- "settings": {
- "java.import.gradle.java.home": "/usr/local/sdkman/candidates/java/current"
}
}