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.
1 parent 28b088a commit 3fa32b7Copy full SHA for 3fa32b7
src/main/kotlin/platform/velocity/creator/ui-steps.kt
@@ -95,6 +95,7 @@ class VelocityVersionStep(
95
private fun applyJdkVersion() {
96
SemanticVersion.tryParse(version)?.let { version ->
97
val preferredJdk = when {
98
+ version >= SemanticVersion.release(3, 3) -> JavaSdkVersion.JDK_17
99
version >= SemanticVersion.release(3) -> JavaSdkVersion.JDK_11
100
else -> JavaSdkVersion.JDK_1_8
101
}
0 commit comments