Depend on shadowJar in the shrinkJar task
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
parent
72ea048ed7
commit
4a87a6d374
|
@ -122,6 +122,7 @@ subprojects {
|
|||
val shadowJar = getByName("shadowJar") as ShadowJar
|
||||
val shrinkJar = register("shrinkJar", proguard.gradle.ProGuardTask::class) { group = this@subprojects.group as String
|
||||
val dictionariesDir = "$rootDir/obfuscation"
|
||||
dependsOn(shadowJar)
|
||||
injars(shadowJar)
|
||||
outjars("$buildDir/shrinkedJar/${shadowJar.outputs.files.singleFile.name}")
|
||||
keep("class $group.snowygui.mixins.* { * ; }")
|
||||
|
|
Loading…
Reference in New Issue