1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-01-21 06:26:55 +00:00

Remove dependencies from gradle

This commit is contained in:
Jonathan Coates 2021-05-20 19:03:30 +01:00
parent 1f385f5b35
commit 5d0daf9b2d

View File

@ -538,6 +538,11 @@ curseforge {
}
}
tasks.withType(GenerateModuleMetadata) {
// We can't generate metadata as that includes Forge as a dependency.
enabled = false
}
publishing {
publications {
maven(MavenPublication) {
@ -563,6 +568,8 @@ publishing {
url = 'https://github.com/SquidDev-CC/CC-Tweaked/blob/mc-1.15.x/LICENSE'
}
}
withXml { asNode().remove(asNode().get("dependencies")) }
}
}
}