Skip to content

Commit

Permalink
update jitpack script
Browse files Browse the repository at this point in the history
  • Loading branch information
danurahadi committed Jan 4, 2022
1 parent ec2296d commit 8253341
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ensure-java-11 → ensure-java-17
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if [ "$JV" != 11 ]; then
echo "Installing sdkman..."
curl -s "https://get.sdkman.io" | bash
source ~/.sdkman/bin/sdkman-init.sh
sdk install java 11.0.11-zulu
sdk install java 17.0.1-zulu
;;
use)
echo "must source ~/.sdkman/bin/sdkman-init.sh"
Expand Down
4 changes: 2 additions & 2 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#jdk:
# - openjdk9
before_install:
- ./ensure-java-11 install
- if ! ./ensure-java-11 use; then source ~/.sdkman/bin/sdkman-init.sh; fi
- ./ensure-java-17 install
- if ! ./ensure-java-17 use; then source ~/.sdkman/bin/sdkman-init.sh; fi
install:
- java -version
- ./gradlew clean compile test detekt localPublish

0 comments on commit 8253341

Please sign in to comment.