Bump default java launcher version

This commit is contained in:
Jason Penilla 2024-04-27 17:14:22 -07:00
parent 095a3210d2
commit 073ed85850
No known key found for this signature in database
GPG key ID: 0E75A301420E48F8

View file

@ -350,7 +350,7 @@ fun JavaToolchainService.defaultJavaLauncher(project: Project): Provider<JavaLau
return launcherFor(project.extensions.getByType<JavaPluginExtension>().toolchain).orElse(
launcherFor {
// If the java plugin isn't applied, or no toolchain value was set
languageVersion.set(JavaLanguageVersion.of(17))
languageVersion.set(JavaLanguageVersion.of(21))
}
)
}