38 lines
885 B
Kotlin
38 lines
885 B
Kotlin
plugins {
|
|
kotlin("jvm") version "2.1.0"
|
|
}
|
|
|
|
group = "klaxon.klaxon"
|
|
version = "0.0.0"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven("https://jitpack.io")
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.apache.commons:commons-compress:1.27.1")
|
|
implementation("net.bramp.ffmpeg:ffmpeg:0.8.0")
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.1")
|
|
implementation("me.tongfei:progressbar:0.10.1")
|
|
implementation("org.ow2.asm:asm:9.7.1")
|
|
implementation("org.ow2.asm:asm-util:9.7.1")
|
|
|
|
runtimeOnly("org.slf4j:slf4j-nop:2.1.0-alpha1")
|
|
|
|
testImplementation("org.jetbrains.kotlin:kotlin-test")
|
|
}
|
|
|
|
tasks.create<JavaExec>("run") {
|
|
mainClass.set("klaxon.klaxon.klaxxl.Main")
|
|
classpath = sourceSets.main.get().runtimeClasspath
|
|
standardInput = System.`in`
|
|
group = "build"
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|
|
kotlin {
|
|
jvmToolchain(22)
|
|
} |