diff --git a/ensure-java-15 b/ensure-java-11 similarity index 85% rename from ensure-java-15 rename to ensure-java-11 index 8d0b7af..9a01394 100755 --- a/ensure-java-15 +++ b/ensure-java-11 @@ -3,13 +3,13 @@ JV=`java -version 2>&1 >/dev/null | head -1` echo $JV | sed -E 's/^.*version "([^".]*)\.[^"]*".*$/\1/' -if [ "$JV" != 15 ]; then +if [ "$JV" != 11 ]; then case "$1" in install) echo "Installing sdkman..." curl -s "https://get.sdkman.io" | bash source ~/.sdkman/bin/sdkman-init.sh - sdk install java 15.0.2-zulu + sdk install java 11.0.11-zulu ;; use) echo "must source ~/.sdkman/bin/sdkman-init.sh" diff --git a/gradle.properties b/gradle.properties index 68d5b56..7e6c7b3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ # Set the project version -version=0.4.4 +version=0.4.5 # Set the JVM heap size org.gradle.jvmargs=-Xms1g -Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options=-Xmx1G diff --git a/jitpack.yml b/jitpack.yml index 18a7483..51e9d3e 100644 --- a/jitpack.yml +++ b/jitpack.yml @@ -1,8 +1,8 @@ #jdk: # - openjdk9 before_install: - - ./ensure-java-15 install - - if ! ./ensure-java-15 use; then source ~/.sdkman/bin/sdkman-init.sh; fi + - ./ensure-java-11 install + - if ! ./ensure-java-11 use; then source ~/.sdkman/bin/sdkman-init.sh; fi install: - java -version - ./gradlew clean compile test detekt localPublish