# HG changeset patch # User Mike Becker # Date 1672321858 -3600 # Node ID 564ae07a6def607f44f5f3a86479aaaade7ba770 # Parent c1be672af7ff52854e7a9104a678ce30b9e52fa5 fix gradle builds with recent IntelliJ diff -r c1be672af7ff -r 564ae07a6def build.gradle.kts --- 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") }