diff --git a/build.gradle.kts b/build.gradle.kts index 7ba8704..6f7e7de 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -18,11 +18,7 @@ dependencies { } kotlin { - jvmToolchain(23) // want this for graalvm 23 despite kotlin not supporting yet -} -java { - sourceCompatibility = JavaVersion.VERSION_22 - targetCompatibility = JavaVersion.VERSION_22 + jvmToolchain(23) } sourceSets { @@ -46,7 +42,7 @@ graalvmNative { "-Os" ) imageName.set("discord-role-picker") -// runtimeArgs.add("-Xmx10m") + runtimeArgs.add("-Xmx128m") } } } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 55e0463..35edc0d 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,7 +1,7 @@ [versions] clikt = "4.2.2" kaml = "0.60.0" -kotlin = "2.0.0" +kotlin = "2.1.0" kotlinx-serialization = "1.7.0" slf4j = "2.0.9"