Remove dependencies from gradle

This commit is contained in:
Jonathan Coates 2021-05-20 19:03:30 +01:00
parent 1f385f5b35
commit 5d0daf9b2d
1 changed files with 7 additions and 0 deletions

View File

@ -538,6 +538,11 @@ task setupServer(type: Copy) {
}
}
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 @@ task setupServer(type: Copy) {
url = 'https://github.com/SquidDev-CC/CC-Tweaked/blob/mc-1.15.x/LICENSE'
}
}
withXml { asNode().remove(asNode().get("dependencies")) }
}
}
}