Skip to content

Commit

Permalink
Fix META-INF in shadow jar
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Jul 15, 2024
1 parent 9d16f37 commit ac7d439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
shadowJar {
configurations = [project.configurations.shadow]
archiveClassifier.set('') // Replace the default JAR
append 'META-INF/mods.toml'
append 'META-INF/neoforge.mods.toml'
relocate 'com.google.re2j', 'vendors.com.google.re2j' // Because Forge blocks all com.google.* class loading...
// To avoid clashes with other mods
relocate 'io.netty.handler.codec.http', 'org.cyclops.integrateddynamics.vendors.io.netty.handler.codec.http'
Expand Down

0 comments on commit ac7d439

Please sign in to comment.