2024-08-28 13:29:10 +10:00
|
|
|
plugins {
|
|
|
|
kotlin("jvm") version "2.0.0"
|
2024-09-08 15:13:13 +10:00
|
|
|
application
|
|
|
|
distribution
|
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
|
|
|
mainClass.set("xyz.maxwellj.mapm.MainKt")
|
|
|
|
layout.buildDirectory.dir("distributions/")
|
2024-08-28 13:29:10 +10:00
|
|
|
}
|
|
|
|
|
2024-09-09 09:23:43 +10:00
|
|
|
group = "xyz.maxwellj.mapm"
|
2024-09-20 13:23:50 +10:00
|
|
|
version = "0.0.3"
|
2024-08-28 13:29:10 +10:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
2024-09-08 15:13:13 +10:00
|
|
|
tasks.withType<Jar> {
|
|
|
|
manifest {
|
|
|
|
attributes["Main-Class"] = "xyz.maxwellj.mapm.MainKt"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-08-28 13:29:10 +10:00
|
|
|
dependencies {
|
|
|
|
testImplementation(kotlin("test"))
|
|
|
|
implementation("com.github.kittinunf.fuel:fuel:3.0.0-alpha03")
|
2024-09-08 15:13:13 +10:00
|
|
|
implementation("org.apache.commons:commons-compress:1.21")
|
|
|
|
implementation("org.tukaani:xz:1.9")
|
2024-08-28 13:29:10 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks.test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
|
|
|
kotlin {
|
|
|
|
jvmToolchain(17)
|
2024-09-08 15:13:13 +10:00
|
|
|
}
|