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 {
|
||||
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
|
||||
|
||||
'''
|
||||
}
|
||||
|
|
|
@ -12,8 +12,6 @@ archivesBaseName = "LibAC"
|
|||
def ENV = System.getenv()
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaLanguageVersion.of(8)
|
||||
toolchain.languageVersion = JavaLanguageVersion.of(8)
|
||||
|
||||
withSourcesJar()
|
||||
withJavadocJar()
|
||||
|
|
Loading…
Reference in a new issue