Clean up code, support JSON

This commit is contained in:
2024-11-23 18:12:07 +11:00
parent b1b1c0accc
commit d839652916
3 changed files with 147 additions and 250 deletions

View File

@@ -5,11 +5,11 @@ plugins {
}
application {
mainClass.set("xyz.maxwellj.chookpen.MainKt")
mainClass.set("xyz.maxwellj.chookchat.MainKt")
layout.buildDirectory.dir("distributions/")
}
group = "xyz.maxwellj.chookpen"
group = "xyz.maxwellj.chookchat"
version = "0.0.1"
repositories {
@@ -18,7 +18,7 @@ repositories {
tasks.withType<Jar> {
manifest {
attributes["Main-Class"] = "xyz.maxwellj.chookpen.MainKt"
attributes["Main-Class"] = "xyz.maxwellj.chookchat.MainKt"
}
}
@@ -27,6 +27,7 @@ dependencies {
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")
implementation("org.json:json:20230618")
}
tasks.test {