24 lines
697 B
Kotlin
24 lines
697 B
Kotlin
// Version-independent runtime: mod loading, events, configuration. No game references.
|
|
|
|
plugins {
|
|
id("zomboidforge.java-conventions")
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":api"))
|
|
implementation(libs.night.config.toml)
|
|
implementation(libs.asm)
|
|
|
|
testImplementation(libs.bundles.asm)
|
|
testImplementation(platform(libs.junit.bom))
|
|
testImplementation(libs.junit.jupiter)
|
|
testRuntimeOnly(libs.junit.platform.launcher)
|
|
// At runtime the game jar provides the driver.
|
|
testRuntimeOnly(libs.sqlite.jdbc)
|
|
}
|
|
|
|
tasks.test {
|
|
// The SQLite JDBC driver loads a native library; the server runs with the same flag.
|
|
jvmArgs("--enable-native-access=ALL-UNNAMED")
|
|
}
|