We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
javaVersion
testJavaVersion
1 parent fd5538d commit 2ffd795Copy full SHA for 2ffd795
1 file changed
build.gradle
@@ -274,7 +274,7 @@ configure(javaProjects) { subproject ->
274
useJUnitPlatform()
275
276
javaLauncher = javaToolchains.launcherFor {
277
- languageVersion = JavaLanguageVersion.of(project.hasProperty('javaVersion') ? project.javaVersion as int : 25)
+ languageVersion = JavaLanguageVersion.of(project.findProperty('testJavaVersion') ?: 25)
278
}
279
280
jvmArgs '--enable-native-access=ALL-UNNAMED'
0 commit comments