Skip to content

Commit 5728271

Browse files
committed
Update shadow config
1 parent 5caec8d commit 5728271

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

examples/example-bukkit/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ tasks {
3737
relocate("net.fabricmc.mappingio", "org.incendo.cloud.example.mappingio")
3838

3939
mergeServiceFiles()
40+
// Needed for mergeServiceFiles to work properly in Shadow 9+
41+
filesMatching("META-INF/services/**") {
42+
duplicatesStrategy = DuplicatesStrategy.INCLUDE
43+
}
4044

4145
manifest {
4246
attributes("paperweight-mappings-namespace" to "mojang")

examples/example-paper/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ tasks {
3737
relocate("net.fabricmc.mappingio", "org.incendo.cloud.example.mappingio")
3838

3939
mergeServiceFiles()
40+
// Needed for mergeServiceFiles to work properly in Shadow 9+
41+
filesMatching("META-INF/services/**") {
42+
duplicatesStrategy = DuplicatesStrategy.INCLUDE
43+
}
4044

4145
manifest {
4246
attributes("paperweight-mappings-namespace" to "mojang")

0 commit comments

Comments
 (0)