willow/build.gradle.kts

67 lines
1.4 KiB
Plaintext
Raw Normal View History

2024-09-20 15:24:02 +00:00
plugins {
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.kotlin.serialization)
alias(libs.plugins.detekt)
2024-11-05 11:01:23 +00:00
alias(libs.plugins.shadow)
2024-09-20 15:24:02 +00:00
alias(libs.plugins.jfx)
2024-11-05 11:01:23 +00:00
java
2024-09-20 15:24:02 +00:00
}
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)
2024-10-25 19:34:03 +00:00
implementation(libs.kotlinx.coroutines.core)
implementation(libs.kotlinx.coroutines.javafx)
2024-09-20 15:24:02 +00:00
implementation(libs.segment)
2024-10-01 18:17:39 +00:00
implementation(libs.ikonli.javafx)
2024-10-14 19:44:17 +00:00
implementation(libs.slf4j.nop)
2024-09-20 15:24:02 +00:00
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")
2024-09-20 15:24:02 +00:00
}
detekt {
buildUponDefaultConfig = true
allRules = false
autoCorrect = true
}
2024-11-05 11:01:23 +00:00
tasks.jar {
manifest {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
attributes["Main-Class"] = "com.marvinelsen.willow.MainKt"
}
}