[U] Upgrade to JDK 21

pull/29/head
Azalea 2024-04-01 21:48:08 -04:00
parent 0093f5a0de
commit de649915e2
1 changed files with 5 additions and 0 deletions

View File

@ -99,6 +99,10 @@ version = "1.0.0"
description = "AquaDX Arcade Server" description = "AquaDX Arcade Server"
java.sourceCompatibility = JavaVersion.VERSION_21 java.sourceCompatibility = JavaVersion.VERSION_21
kotlin {
jvmToolchain(21)
}
springBoot { springBoot {
mainClass.set("icu.samnyan.aqua.EntryKt") mainClass.set("icu.samnyan.aqua.EntryKt")
} }
@ -114,6 +118,7 @@ tasks.processResources {
tasks.test { tasks.test {
enabled = false enabled = false
useJUnitPlatform() useJUnitPlatform()
jvmArgs("-Dkotest.assertions.collection.print.size=100")
} }
tasks.withType<JavaCompile> { tasks.withType<JavaCompile> {