aboutsummaryrefslogtreecommitdiff
path: root/src/java
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-08-11 21:37:10 +0300
committerGitHub <noreply@github.com>2022-08-11 21:37:10 +0300
commit44694d699fd715edeeb9fcea9271b09c39b5ac35 (patch)
tree3a89d5c06276b9721661d2b13fc37a2e87aa85a7 /src/java
parentaecf2ad152a75663211a2ac0926e6122c2b0b07f (diff)
Options: Follow camelCase (#89)
rename Options
Diffstat (limited to 'src/java')
-rw-r--r--src/java/devcontainer-feature.json6
-rwxr-xr-xsrc/java/install.sh6
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