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()