1
0
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:
Jonathan Coates
2022-12-12 20:28:18 +00:00
parent 18fbd96c10
commit 06163e4f25
5 changed files with 17 additions and 15 deletions

View File

@@ -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())
}
}
}