1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-08-30 17:17:55 +00:00

Share some dependency exclusion code

- Disable Gradle module metadata for all Minecraft projects
 - Run dependency exclusion code for all projects

We need the former for MDG on 1.21, so might as well do some other
cleanup while we're here.
This commit is contained in:
Jonathan Coates
2025-01-13 00:00:10 +00:00
parent 9a914e75c4
commit ef0af67e96
8 changed files with 35 additions and 76 deletions

View File

@@ -288,17 +288,6 @@ modPublishing {
output = tasks.remapJar
}
tasks.withType(GenerateModuleMetadata::class).configureEach { isEnabled = false }
publishing {
publications {
named("maven", MavenPublication::class) {
mavenDependencies {
cct.configureExcludes(this)
}
}
}
}
modrinth {
required.project("fabric-api")
}