Skip to content

Commit

Permalink
updated toolchain to java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
tanya732 committed Oct 30, 2024
1 parent be1ed0e commit 45b2cbf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ signing {

java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
languageVersion = JavaLanguageVersion.of(11)
}
}

compileJava {
exclude 'module-info.java'
// Required to be compatible with JDK 8+
options.release = 8
options.release = 11
}

javadoc {
Expand Down Expand Up @@ -130,7 +130,7 @@ task compileModuleInfoJava(type: JavaCompile) {
}

compileTestJava {
options.release = 8
options.release = 11
options.compilerArgs = ["-Xlint:deprecation"]
}

Expand Down

0 comments on commit 45b2cbf

Please # to comment.