willow/build.gradle.kts
Marvin Elsen 52acfeb5da
All checks were successful
Pull Request / build (pull_request) Successful in 4m7s
Implement undo/redo for selecting entries
2024-11-07 23:19:16 +01:00

68 lines
1.4 KiB
Plaintext

plugins {
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.kotlin.serialization)
alias(libs.plugins.detekt)
alias(libs.plugins.shadow)
alias(libs.plugins.jfx)
java
}
group = "com.marvinelsen"
version = "1.0.0"
repositories {
mavenCentral()
repositories {
maven {
url = uri("https://gitea.marvinelsen.com/api/packages/marvinelsen/maven")
}
}
}
dependencies {
detektPlugins(libs.detekt.formatting)
implementation(libs.sqlite.jdbc)
implementation(libs.kotlinx.serialization.json)
implementation(libs.kotlinx.html.jvm)
implementation(libs.kotlinx.coroutines.core)
implementation(libs.kotlinx.coroutines.javafx)
implementation(libs.segment)
implementation(libs.ikonli.javafx)
implementation(libs.ikonli.material2)
implementation(libs.slf4j.nop)
testImplementation(libs.kotest.core)
testImplementation(libs.kotest.assertions)
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(21)
}
javafx {
version = libs.versions.javafx.get()
modules("javafx.base", "javafx.graphics", "javafx.controls", "javafx.fxml", "javafx.web")
// setPlatform("mac")
}
detekt {
buildUponDefaultConfig = true
allRules = false
autoCorrect = true
}
tasks.jar {
manifest {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
attributes["Main-Class"] = "com.marvinelsen.willow.MainKt"
}
}