48 lines
No EOL
894 B
Kotlin
48 lines
No EOL
894 B
Kotlin
plugins {
|
|
application
|
|
alias(libs.plugins.kotlin.jvm)
|
|
alias(libs.plugins.kotlin.serialization)
|
|
alias(libs.plugins.graalvm.buildtools.native)
|
|
alias(libs.plugins.shadow)
|
|
}
|
|
|
|
group = "eu.m724"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
//implementation("org.eclipse.jgit:org.eclipse.jgit:7.3.0.202506031305-r")
|
|
/// implementation("io.pebbletemplates:pebble:3.2.4")
|
|
implementation(libs.clikt)
|
|
implementation(libs.kaml)
|
|
implementation(libs.logging)
|
|
|
|
testImplementation(kotlin("test"))
|
|
testImplementation(libs.mockk)
|
|
testImplementation(libs.junit.jupiter.params)
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
tasks.shadowJar {
|
|
minimize()
|
|
}
|
|
|
|
graalvmNative {
|
|
toolchainDetection = true
|
|
|
|
// -Os? --emit build-report? pgo?
|
|
}
|
|
|
|
kotlin {
|
|
jvmToolchain(21)
|
|
}
|
|
|
|
application {
|
|
mainClass = "eu.m724.bsk2.MainKt"
|
|
} |