Skip to content

Commit d718455

Browse files
committed
add duplicates strategy
1 parent 987df9e commit d718455

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,14 @@ subprojects {
5959
task sourcesJar(type: Jar, dependsOn: classes) {
6060
classifier = "sources"
6161
from sourceSets.main.allSource
62+
duplicatesStrategy = DuplicatesStrategy.INCLUDE // allow duplicates
6263
}
6364

6465

6566
tasks.withType(AbstractArchiveTask) {
6667
preserveFileTimestamps = false
6768
reproducibleFileOrder = true
69+
duplicatesStrategy = DuplicatesStrategy.INCLUDE // allow duplicates
6870
}
6971

7072
configurations.all {

0 commit comments

Comments
 (0)