From 726483e1322e65da4b6fa991c662c121203009bf Mon Sep 17 00:00:00 2001 From: Danielle Voznyy Date: Tue, 3 Dec 2024 00:40:05 -0500 Subject: [PATCH] chore: Bump to kotlin 2.1.0, set Xmx --- build.gradle.kts | 8 ++------ gradle/libs.versions.toml | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) 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"