Skip to content

Commit

Permalink
Change to JDK21 build (since it is LTS)
Browse files Browse the repository at this point in the history
  • Loading branch information
xyzsd committed Dec 28, 2023
1 parent 5fa5047 commit 05a684d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dependencies {

java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(20))
languageVersion.set(JavaLanguageVersion.of(21))
vendor.set(JvmVendorSpec.ADOPTIUM)
}

Expand Down Expand Up @@ -121,7 +121,7 @@ tasks.javadoc {
(options as StandardJavadocDocletOptions).addBooleanOption("html5", true)
}
val javadocOptions = options as CoreJavadocOptions
javadocOptions.addStringOption("source", "20")
javadocOptions.addStringOption("source", "21")
}

// for reproducible builds
Expand Down

0 comments on commit 05a684d

Please sign in to comment.