mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-12-08 15:08:06 +00:00
Fix a couple of packaging issues
- Fix client classes not being included in Forge. - Only remap Nettty's HTTP classes, not all of them. This feels a little more error prone - maybe we should jar-in-jar this in the future. - Use the correct refmaps on Forge. - Prevent the Fabric jar pulling in some other mods. Closes #1247
This commit is contained in:
@@ -35,9 +35,7 @@ addRemappedConfiguration("testWithSodium")
|
||||
addRemappedConfiguration("testWithIris")
|
||||
|
||||
dependencies {
|
||||
modImplementation(libs.bundles.externalMods.fabric) {
|
||||
exclude("curse.maven", "configured-fabric-667378") // Added by Forge Config API
|
||||
}
|
||||
modImplementation(libs.bundles.externalMods.fabric)
|
||||
modCompileOnly(libs.bundles.externalMods.fabric.compile) {
|
||||
exclude("net.fabricmc", "fabric-loader")
|
||||
exclude("net.fabricmc.fabric-api")
|
||||
@@ -238,6 +236,7 @@ publishing {
|
||||
mavenDependencies {
|
||||
exclude(dependencies.create("cc.tweaked:"))
|
||||
exclude(libs.jei.fabric.get())
|
||||
exclude(libs.modmenu.get())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user