1+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2+
13plugins {
24 alias(libs.plugins.kotlinJvm)
3- // alias(libs.plugins.versions)
4- // alias(libs.plugins.versionCatalogUpdate)
55}
66
77allprojects {
@@ -10,34 +10,16 @@ allprojects {
1010 }
1111}
1212
13- // versionCatalogUpdate {
14- // this.keep {
15- // keepUnusedPlugins = true
16- // keepUnusedVersions = true
17- // keepUnusedLibraries = true
18- // }
19- // }
20-
21- // tasks.dependencyUpdates {
22- // fun isNonStable(version: String): Boolean {
23- // val stableKeyword = listOf("RELEASE", "FINAL", "GA").any { version.uppercase().contains(it) }
24- // val regex = "^[0-9,.v-]+(-r)?$".toRegex()
25- // val isStable = stableKeyword || regex.matches(version)
26- // return isStable.not()
27- // }
28- // rejectVersionIf {
29- // isNonStable(candidate.version)
30- // }
31- // }
32-
3313allprojects {
3414 apply (plugin = " kotlin" )
3515
16+ // Don't want to set a toolchain because we will be compiling with GraalVM 23 during CI
3617 kotlin {
37- jvmToolchain( 23 ) // want this for graalvm 23 despite kotlin not supporting yet
18+ compilerOptions.jvmTarget = JvmTarget . JVM_17
3819 }
20+
3921 java {
40- sourceCompatibility = JavaVersion .VERSION_22
41- targetCompatibility = JavaVersion .VERSION_22
22+ sourceCompatibility = JavaVersion .VERSION_17
23+ targetCompatibility = JavaVersion .VERSION_17
4224 }
4325}
0 commit comments