--- a/build.gradle.kts Thu Dec 29 14:50:35 2022 +0100 +++ b/build.gradle.kts Thu Dec 29 14:50:58 2022 +0100 @@ -15,7 +15,12 @@ kotlinOptions.jvmTarget = "11" } +tasks.jar { + enabled = false +} + tasks.war { + duplicatesStrategy = DuplicatesStrategy.WARN archiveFileName.set("lightpit.war") from("src/main/resources") }