Move Mixins which exist specifically for jGui from RM to jGui repo

This commit is contained in:
Jonas Herzig
2019-05-20 17:09:53 +02:00
parent 1ef4f605d7
commit 3a45147974
9 changed files with 10 additions and 171 deletions

View File

@@ -343,7 +343,14 @@ task configureRelocation() {
tasks.removeByName('shadowJar') // we want to base our shadowed jar on the reobfJar output, not the sourceSet output
task shadowJar(type: com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar) {
from { tasks.jar.archivePath }
from({ zipTree(tasks.jar.archivePath) }) {
filesMatching('mixins.jgui.json') {
filter { it.replace('de.johni0702', 'com.replaymod.lib.de.johni0702') }
}
filesMatching('mixins.jgui.refmap.json') {
filter { it.replace('de/johni0702', 'com/replaymod/lib/de/johni0702') }
}
}
afterEvaluate { dependsOn FABRIC ? tasks.remapJar : (mcVersion >= 10800 ? tasks.reobfJar : tasks.reobf) }
manifest.inheritFrom tasks.jar.manifest