Skip to content

Commit 16e93cc

Browse files
committed
Use Java 25 toolchain
Allows the unnamed variable `_` produced by the OpenRewrite best-practices recipe to compile without preview flags.
1 parent 434f9b0 commit 16e93cc

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,12 @@ dependencies {
109109
testRuntimeOnly(gradleApi())
110110
}
111111

112+
java {
113+
toolchain {
114+
languageVersion = JavaLanguageVersion.of(25)
115+
}
116+
}
117+
112118
tasks.withType(Javadoc::class.java) {
113119
exclude("**/PlanJavaMigration.java")
114120
}

0 commit comments

Comments
 (0)