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:
@@ -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")
|
||||
}
|
||||
|
Reference in New Issue
Block a user