Skip to content

Commit 7cec219

Browse files
author
Lars Grahmann
committed
fix gradle
1 parent ec025c3 commit 7cec219

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

build.gradle

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
apply plugin: 'java'
22

33
group 'de.worldiety'
4-
version '1.2'
4+
version '1.3'
55

6-
sourceCompatibility = 17
6+
sourceCompatibility = JavaVersion.VERSION_17
77

88
repositories {
99
mavenCentral()
@@ -17,10 +17,15 @@ sourceSets {
1717
}
1818
}
1919

20+
tasks.withType(Copy).all {
21+
duplicatesStrategy 'exclude'
22+
}
23+
2024
jar {
2125
exclude 'META-INF/*.RSA', 'META-INF/*.SF', 'META-INF/*.DSA'
26+
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
2227
from {
23-
(configurations.runtime).collect {
28+
(configurations.runtimeClasspath).collect {
2429
it.isDirectory() ? it : zipTree(it)
2530
}
2631
}

0 commit comments

Comments
 (0)