Skip to content

Commit b64763f

Browse files
committed
Duplicates strategy stuff
1 parent 9a8fad3 commit b64763f

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Fabric/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,5 +203,8 @@ remapJar {
203203
tasks.named('processResources') {
204204
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
205205
}
206+
tasks.named('sourcesJar') {
207+
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
208+
}
206209

207210
jar.finalizedBy(remapJar)

Neoforge/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,10 @@ tasks.named('processResources') {
179179
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
180180
}
181181

182+
tasks.named('sourcesJar') {
183+
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
184+
}
185+
182186
shadowJar {
183187
configurations = [project.configurations.shadowBundle]
184188
archiveClassifier = 'dev-shadow'

0 commit comments

Comments
 (0)