From 786311d6140fe384d6dc8d1bc7e0c89d1d310da6 Mon Sep 17 00:00:00 2001 From: zontreck Date: Fri, 6 Sep 2024 23:35:21 -0700 Subject: [PATCH] Switch back to jdk8 --- Jenkinsfile | 5 ++--- build.gradle | 2 -- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 74ca1dc..28e85ef 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,8 +16,7 @@ pipeline { } tools { - jdk "jdk11" - gradle "gradle7" + jdk "jdk8" } steps { @@ -32,7 +31,7 @@ pipeline { java -version chmod +x gradlew - gradle -Dorg.gradle.java.home="$JAVA_HOME" build publish + ./gradlew -Dorg.gradle.java.home="$JAVA_HOME" build publish ''' } diff --git a/build.gradle b/build.gradle index 00c9efe..d74f1db 100644 --- a/build.gradle +++ b/build.gradle @@ -12,8 +12,6 @@ archivesBaseName = "LibAC" def ENV = System.getenv() java { - sourceCompatibility = JavaLanguageVersion.of(8) - toolchain.languageVersion = JavaLanguageVersion.of(8) withSourcesJar() withJavadocJar()