Switch back to jdk8
This commit is contained in:
parent
3bf69703fa
commit
786311d614
2 changed files with 2 additions and 5 deletions
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -16,8 +16,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
tools {
|
tools {
|
||||||
jdk "jdk11"
|
jdk "jdk8"
|
||||||
gradle "gradle7"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
steps {
|
steps {
|
||||||
|
@ -32,7 +31,7 @@ pipeline {
|
||||||
java -version
|
java -version
|
||||||
|
|
||||||
chmod +x gradlew
|
chmod +x gradlew
|
||||||
gradle -Dorg.gradle.java.home="$JAVA_HOME" build publish
|
./gradlew -Dorg.gradle.java.home="$JAVA_HOME" build publish
|
||||||
|
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,8 +12,6 @@ archivesBaseName = "LibAC"
|
||||||
def ENV = System.getenv()
|
def ENV = System.getenv()
|
||||||
|
|
||||||
java {
|
java {
|
||||||
sourceCompatibility = JavaLanguageVersion.of(8)
|
|
||||||
toolchain.languageVersion = JavaLanguageVersion.of(8)
|
|
||||||
|
|
||||||
withSourcesJar()
|
withSourcesJar()
|
||||||
withJavadocJar()
|
withJavadocJar()
|
||||||
|
|
Loading…
Reference in a new issue