diff --git a/build.gradle b/build.gradle index 435eacdcb..679045b64 100644 --- a/build.gradle +++ b/build.gradle @@ -557,6 +557,11 @@ curseforge { } } +tasks.withType(GenerateModuleMetadata) { + // We can't generate metadata as that includes Forge as a dependency. + enabled = false +} + publishing { publications { maven(MavenPublication) { @@ -582,6 +587,8 @@ publishing { url = 'https://github.com/SquidDev-CC/CC-Tweaked/blob/mc-1.15.x/LICENSE' } } + + withXml { asNode().remove(asNode().get("dependencies")) } } } }