Skip to content

Commit ec0b681

Browse files
committed
Avoid hard-coding Java version for processStarter source set
1 parent 3b84604 commit ec0b681

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform-tests/platform-tests.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ tasks {
111111
}
112112
}
113113
named<JavaCompile>(processStarter.compileJavaTaskName).configure {
114-
options.release = 21
114+
options.release = javaLibrary.testJavaVersion.majorVersion.toInt()
115115
}
116116
named<Checkstyle>("checkstyle${processStarter.name.capitalized()}").configure {
117117
config = resources.text.fromFile(checkstyle.configDirectory.file("checkstyleMain.xml"))

0 commit comments

Comments
 (0)