Keep forge-specific classes in the proguard gradle task
This commit is contained in:
parent
1b656ee8b1
commit
61ccb4ae62
|
@ -41,7 +41,8 @@ subprojects {
|
||||||
injars(this@tasks.getByName("remapJar"))
|
injars(this@tasks.getByName("remapJar"))
|
||||||
outjars("$rootDir/shrinkedJars/")
|
outjars("$rootDir/shrinkedJars/")
|
||||||
keep("class $group.snowygui.mixins.* { * ; }")
|
keep("class $group.snowygui.mixins.* { * ; }")
|
||||||
keep("class $group.snowygui.fabric.** { * ; }")
|
keep("class $group.snowygui.fabric.**")
|
||||||
|
keep("class $group.snowygui.forge.**")
|
||||||
keepnames("class $group.snowygui.Snowy")
|
keepnames("class $group.snowygui.Snowy")
|
||||||
keepclassmembers("class $group.snowygui.** { public protected <methods>; }")
|
keepclassmembers("class $group.snowygui.** { public protected <methods>; }")
|
||||||
keepattributes("*Annotation*, Signature, InnerClasses, EnclosingMethod, MethodParameters, Synthetic, Exceptions")
|
keepattributes("*Annotation*, Signature, InnerClasses, EnclosingMethod, MethodParameters, Synthetic, Exceptions")
|
||||||
|
|
Loading…
Reference in New Issue