aboutsummaryrefslogtreecommitdiff
path: root/src/gradle
diff options
context:
space:
mode:
authorJosh Spicer <joshspicer@github.com>2022-05-26 05:04:49 +0300
committerGitHub <noreply@github.com>2022-05-26 05:04:49 +0300
commit7f182aaea2b40adb43f00227185d93f913199c42 (patch)
tree20b6c8aca8eb4f389918114d9a8406a9140bc47a /src/gradle
parenteb6ed37debc6b0639eeb08a37ddde031e6d54fa8 (diff)
updates to conda,gradle,hugo (#24)
Diffstat (limited to 'src/gradle')
-rw-r--r--src/gradle/install.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gradle/install.sh b/src/gradle/install.sh
index 2fe7fa9..b88ea9c 100644
--- a/src/gradle/install.sh
+++ b/src/gradle/install.sh
@@ -7,12 +7,13 @@
# Docs: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/gradle.md
# Maintainer: The VS Code and Codespaces Teams
#
-# Syntax: ./gradle-debian.sh [Gradle version] [SDKMAN_DIR] [non-root user] [Update rc files flag]
+# Syntax: ./gradle-debian.sh [Gradle version] [non-root user] [Update rc files flag]
GRADLE_VERSION=${1:-"latest"}
-export SDKMAN_DIR=${2:-"/usr/local/sdkman"}
-USERNAME=${3:-"automatic"}
-UPDATE_RC=${4:-"true"}
+USERNAME=${2:-"automatic"}
+UPDATE_RC=${3:-"true"}
+
+SDKMAN_DIR=${SDKMAN_DIR:-"/usr/local/sdkman"}
set -e