Cleaned up some shadow code

This commit is contained in:
coolGi
2023-02-28 16:54:43 +10:30
parent cdbfad060b
commit 4d195a6378
5 changed files with 55 additions and 72 deletions
-26
View File
@@ -130,11 +130,6 @@ dependencies {
// if (System.getProperty("idea.sync.active") != "true") {
// annotationProcessor "org.spongepowered:mixin:0.8.4:processor"
// }
common(project(path: ":common")) { transitive false }
shadowCommon(project(path: ":common")) { transitive false }
shadowMe(project(path: ":core")) { transitive false }
shadowMe(project(path: ":api")) { transitive false }
}
processResources {
@@ -142,27 +137,6 @@ processResources {
dependsOn(copyAccessWidener)
}
shadowJar {
exclude "architectury.common.json"
configurations = [project.configurations.shadowCommon, project.configurations.shadowMe, project.configurations.customModule]
relocate "om.seibel.lod.common", "loaderCommon.forge.com.seibel.lod.common"
// Compression
relocate "org.tukaani", "distanthorizons.libraries.tukaani"
// NightConfig (includes Toml & Json)
relocate "com.electronwill.nightconfig", "distanthorizons.libraries.electronwill.nightconfig"
// Theming
relocate "com.formdev.flatlaf", "distanthorizons.libraries.formdev.flatlaf"
// svg
relocate "com.kitfox.svg", "distanthorizons.libraries.kitfox.svg"
mergeServiceFiles()
}
//remapJar {
// input.set shadowJar.archiveFile
// dependsOn shadowJar