chookchat/server/build.gradle.kts

39 lines
743 B
Plaintext
Raw Normal View History

2024-10-20 13:37:03 +11:00
plugins {
kotlin("jvm") version "2.0.0"
application
distribution
}
application {
2024-11-23 18:12:07 +11:00
mainClass.set("xyz.maxwellj.chookchat.MainKt")
2024-10-20 13:37:03 +11:00
layout.buildDirectory.dir("distributions/")
}
2024-11-23 18:12:07 +11:00
group = "xyz.maxwellj.chookchat"
2024-10-20 13:37:03 +11:00
version = "0.0.1"
repositories {
mavenCentral()
}
tasks.withType<Jar> {
manifest {
2024-11-23 18:12:07 +11:00
attributes["Main-Class"] = "xyz.maxwellj.chookchat.MainKt"
2024-10-20 13:37:03 +11:00
}
}
dependencies {
testImplementation(kotlin("test"))
2024-10-28 20:37:20 +11:00
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
implementation("io.javalin:javalin:6.3.0")
implementation("org.slf4j:slf4j-simple:2.0.16")
2024-11-23 18:12:07 +11:00
implementation("org.json:json:20230618")
2024-10-20 13:37:03 +11:00
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(17)
}