chookchat/server/build.gradle.kts
2024-10-23 14:25:25 +11:00

37 lines
621 B
Plaintext

plugins {
kotlin("jvm") version "2.0.0"
application
distribution
}
application {
mainClass.set("xyz.maxwellj.chookpen.MainKt")
layout.buildDirectory.dir("distributions/")
}
group = "xyz.maxwellj.chookpen"
version = "0.0.1"
repositories {
mavenCentral()
}
tasks.withType<Jar> {
manifest {
attributes["Main-Class"] = "xyz.maxwellj.chookpen.MainKt"
}
}
dependencies {
testImplementation(kotlin("test"))
implementation("io.javalin:javalin:6.3.0")
implementation("org.slf4j:slf4j-simple:2.0.16")
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(17)
}