Skip to content

Commit

Permalink
chore: Bump to kotlin 2.1.0, set Xmx
Browse files Browse the repository at this point in the history
  • Loading branch information
0ffz committed Dec 3, 2024
1 parent 17c69c6 commit 726483e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -46,7 +42,7 @@ graalvmNative {
"-Os"
)
imageName.set("discord-role-picker")
// runtimeArgs.add("-Xmx10m")
runtimeArgs.add("-Xmx128m")
}
}
}
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -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"

Expand Down

0 comments on commit 726483e

Please sign in to comment.