mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-28 04:07:01 -05:00
No longer shading META-INF, fixes Sponge Mixin not finding the obfuscation service
This commit is contained in:
@@ -56,10 +56,11 @@ dependencies {
|
||||
shade 'cuchaz:enigma:0.11.0.+:lib'
|
||||
shade 'net.fabricmc:tiny-remapper:+'
|
||||
|
||||
|
||||
//Always fun when your dep needs the tool to build, but the tool needs the dep.
|
||||
//compile 'net.fabricmc:fabric-base:16w38a-0.0.4-SNAPSHOT'
|
||||
|
||||
shade('org.spongepowered:mixin:0.6-SNAPSHOT') {
|
||||
shade('org.spongepowered:mixin:0.6.8-SNAPSHOT') {
|
||||
exclude module: 'launchwrapper'
|
||||
exclude module: 'guava'
|
||||
}
|
||||
@@ -76,7 +77,11 @@ sourceSets {
|
||||
|
||||
jar {
|
||||
from {
|
||||
configurations.shade.collect { it.isDirectory() ? it : zipTree(it) }
|
||||
configurations.shade.each { dep ->
|
||||
from(project.zipTree(dep)){
|
||||
exclude 'META-INF', 'META-INF/**'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user