diff options
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/devcontainer-feature.json | 6 | ||||
-rwxr-xr-x | src/java/install.sh | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/java/devcontainer-feature.json b/src/java/devcontainer-feature.json index 0a03a85..e95fe72 100644 --- a/src/java/devcontainer-feature.json +++ b/src/java/devcontainer-feature.json @@ -1,6 +1,6 @@ { "id": "java", - "version": "1.0.1", + "version": "1.0.2", "name": "Java (via SDKMAN!)", "description": "Installs Java, SDKMAN! (if not installed), and needed dependencies.", "options": { @@ -16,12 +16,12 @@ "default": "latest", "description": "Select or enter a Java version to install" }, - "install_gradle": { + "installGradle": { "type": "boolean", "default": false, "description": "Install Gradle, a build automation tool for multi-language software development" }, - "install_maven": { + "installMaven": { "type": "boolean", "default": false, "description": "Install Maven, a management tool for Java" diff --git a/src/java/install.sh b/src/java/install.sh index 002adf6..1f7da33 100755 --- a/src/java/install.sh +++ b/src/java/install.sh @@ -10,8 +10,8 @@ # Syntax: ./java-debian.sh [JDK version] [SDKMAN_DIR] [non-root user] [Add to rc files flag] JAVA_VERSION=${VERSION:-"lts"} -INSTALL_GRADLE=${INSTALL_GRADLE:-"false"} -INSTALL_MAVEN=${INSTALL_MAVEN:-"false"} +INSTALL_GRADLE=${INSTALLGRADLE:-"false"} +INSTALL_MAVEN=${INSTALLMAVEN:-"false"} export SDKMAN_DIR=${SDKMAN_DIR:-"/usr/local/sdkman"} USERNAME=${USERNAME:-"automatic"} @@ -19,7 +19,7 @@ UPDATE_RC=${UPDATE_RC:-"true"} # Comma-separated list of java versions to be installed # alongside JAVA_VERSION, but not set as default. -ADDITIONAL_VERSIONS=${ADDITIONAL_VERSIONS:-""} +ADDITIONAL_VERSIONS=${ADDITIONALVERSIONS:-""} set -e |