New Features #1

Open
marvinelsen wants to merge 95 commits from develop into main
4 changed files with 20 additions and 1 deletions
Showing only changes of commit 8976165b27 - Show all commits

View File

@ -2,7 +2,9 @@ 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"
@ -55,3 +57,10 @@ detekt {
allRules = false
autoCorrect = true
}
tasks.jar {
manifest {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
attributes["Main-Class"] = "com.marvinelsen.willow.MainKt"
}
}

View File

@ -1,6 +1,7 @@
[versions]
kotlin = "2.0.20"
detekt = "1.23.7"
shadow = "8.3.5"
jfx-plugin = "0.1.0"
javafx = "23"
@ -50,4 +51,8 @@ kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", versi
# See: https://detekt.dev
detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" }
# Gradle Shadow
# See: https://gradleup.com/shadow/
shadow = { id = "com.gradleup.shadow", version.ref = "shadow" }
jfx = { id = "org.openjfx.javafxplugin", version.ref = "jfx-plugin" }

View File

@ -0,0 +1,5 @@
package com.marvinelsen.willow
fun main(args: Array<String>) {
actualMain(args)
}

View File

@ -85,6 +85,6 @@ class WillowApplication : Application() {
}
@Suppress("SpreadOperator")
fun main(args: Array<String>) {
fun actualMain(args: Array<String>) {
Application.launch(WillowApplication::class.java, *args)
}