fix gradle builds with recent IntelliJ

Thu, 29 Dec 2022 14:50:58 +0100

author
Mike Becker <universe@uap-core.de>
date
Thu, 29 Dec 2022 14:50:58 +0100
changeset 258
564ae07a6def
parent 257
c1be672af7ff
child 259
30ec2cf1e495

fix gradle builds with recent IntelliJ

build.gradle.kts file | annotate | diff | comparison | revisions
--- 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")
 }

mercurial