Skip to content

Commit 6e70d21

Browse files
committed
feat(gradle/build): add duplicatesStrategy for copy task
1 parent 2cc57bd commit 6e70d21

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,11 @@ subprojects {
6969
tasks.withType(AbstractArchiveTask) {
7070
preserveFileTimestamps = false
7171
reproducibleFileOrder = true
72-
duplicatesStrategy = DuplicatesStrategy.INCLUDE // allow duplicates
72+
}
73+
tasks.withType(AbstractCopyTask).tap {
74+
configureEach {
75+
duplicatesStrategy = DuplicatesStrategy.INCLUDE // allow duplicates
76+
}
7377
}
7478
}
7579

0 commit comments

Comments
 (0)