Skip to content

Commit 972639b

Browse files
committed
fix gradle version
1 parent 95e7808 commit 972639b

1 file changed

Lines changed: 9 additions & 11 deletions

File tree

env.sh

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,15 @@ function main() {
1313
fi
1414
echo "default_docker_tag=${docker_tag}"
1515

16-
if [[ -z "${GRADLE_VERSION}" ]]; then
17-
case $docker_tag in
18-
gradle- )
19-
## ignore
20-
;;
21-
* )
22-
docker_tag="${default_gradle_version}"
23-
;;
24-
esac
25-
export GRADLE_VERSION="${docker_tag}"
26-
fi
16+
case $docker_tag in
17+
gradle- )
18+
## ignore
19+
;;
20+
* )
21+
docker_tag="${default_gradle_version}"
22+
;;
23+
esac
24+
export GRADLE_VERSION="${docker_tag}"
2725
echo "GRADLE_VERSION=${GRADLE_VERSION}"
2826

2927
if [[ -z "${DOCKER_TAG}" ]]; then

0 commit comments

Comments
 (0)