2024-10-20 13:37:03 +11:00
|
|
|
plugins {
|
|
|
|
kotlin("jvm") version "2.0.0"
|
|
|
|
application
|
|
|
|
distribution
|
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
|
|
|
mainClass.set("xyz.maxwellj.chookpen.client.MainKt")
|
|
|
|
layout.buildDirectory.dir("distributions/")
|
|
|
|
}
|
|
|
|
|
|
|
|
group = "xyz.maxwellj.chookpen.client"
|
|
|
|
version = "0.0.2"
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.withType<Jar> {
|
|
|
|
manifest {
|
|
|
|
attributes["Main-Class"] = "xyz.maxwellj.chookpen.client.MainKt"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
testImplementation(kotlin("test"))
|
2024-10-24 12:33:58 +11:00
|
|
|
implementation("com.squareup.okhttp3:okhttp:4.12.0")
|
2024-10-20 13:37:03 +11:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks.test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
|
|
|
kotlin {
|
|
|
|
jvmToolchain(17)
|
|
|
|
}
|