Add Kotlin plugin and configure build scripts for Kotlin compatibility, integrate exposed library dependencies, and enhance JVM settings.

Signed-off-by: Chaoscaot <max@maxsp.de>
This commit is contained in:
2025-11-07 14:40:10 +01:00
parent 39b3cdb897
commit 63a5fcff97
5 changed files with 21 additions and 3 deletions
+7 -1
View File
@@ -19,13 +19,18 @@
plugins {
steamwar.java
kotlin("jvm")
steamwar.kotlin
}
kotlin {
jvmToolchain(8)
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
sourceSets {
main {
java {
@@ -62,6 +67,7 @@ dependencies {
implementation("org.yaml:snakeyaml:2.2")
compileOnlyApi("org.jetbrains.kotlin:kotlin-stdlib:2.2.21")
api(libs.exposedCore)
api(libs.exposedDao)
api(libs.exposedJdbc)