44 lines
841 B
Kotlin
44 lines
841 B
Kotlin
plugins {
|
|
kotlin("jvm") version "2.3.10"
|
|
id("com.gradleup.shadow") version "9.4.1"
|
|
application
|
|
}
|
|
|
|
group = "klaxon.klaxon"
|
|
version = "0.0.2"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven("https://jitpack.io")
|
|
}
|
|
|
|
val asmVersion = "9.10"
|
|
|
|
dependencies {
|
|
implementation("org.apache.commons:commons-compress:1.28.0")
|
|
implementation("net.bramp.ffmpeg:ffmpeg:0.8.0")
|
|
implementation("me.tongfei:progressbar:0.10.1")
|
|
implementation("org.ow2.asm:asm:$asmVersion")
|
|
implementation("org.ow2.asm:asm-util:$asmVersion")
|
|
|
|
runtimeOnly("org.slf4j:slf4j-nop:2.1.0-alpha1")
|
|
|
|
testImplementation("org.jetbrains.kotlin:kotlin-test")
|
|
}
|
|
|
|
application {
|
|
mainClass = "klaxon.klaxon.klaxxl.Main"
|
|
}
|
|
|
|
tasks.run.configure {
|
|
standardInput = System.`in`
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
kotlin {
|
|
jvmToolchain(25)
|
|
}
|