Fix included mod jars being exploded into outer jar
Caused by this stupid behavior of the shadow plugin: https://github.com/johnrengelman/shadow/issues/111 Fixes #976
This commit is contained in:
@@ -303,7 +303,7 @@ val configureRelocation by tasks.registering {
|
||||
}
|
||||
|
||||
val bundleJar by tasks.registering(com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar::class) {
|
||||
from(tasks.remapJar.flatMap { it.archiveFile }.map { zipTree(it) })
|
||||
from(tasks.remapJar.flatMap { it.archiveFile })
|
||||
|
||||
from(jGui.tasks.remapJar.flatMap { it.archiveFile }.map { zipTree(it) }) {
|
||||
filesMatching("mixins.jgui.json") {
|
||||
|
||||
Reference in New Issue
Block a user