diff --git a/jitpack.yml b/jitpack.yml index 045b1fd..0b95f85 100644 --- a/jitpack.yml +++ b/jitpack.yml @@ -1,10 +1,5 @@ +jdk: + - openjdk16 before_install: - # Make sure SDKMAN is addressable and up-to-date. - - source "$HOME/.sdkman/bin/sdkman-init.sh" - - sdk update - # Use Eclipse Temurin 17 builds - - sdk install java 16.0.0-tem - - sdk use java 16.0.0-tem - # Use a modern Maven binary - - sdk install maven 3.8.3 - - sdk use maven 3.8.3 \ No newline at end of file + - wget https://github.com/sormuras/bach/raw/master/install-jdk.sh + - source install-jdk.sh --feature 16 \ No newline at end of file