Keep forge-specific classes in the proguard gradle task

This commit is contained in:
Username404-59 2021-04-28 21:57:49 +02:00
parent 1b656ee8b1
commit 61ccb4ae62
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
2 changed files with 2 additions and 1 deletions

View File

@ -41,7 +41,8 @@ subprojects {
injars(this@tasks.getByName("remapJar"))
outjars("$rootDir/shrinkedJars/")
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")
keepclassmembers("class $group.snowygui.** { public protected <methods>; }")
keepattributes("*Annotation*, Signature, InnerClasses, EnclosingMethod, MethodParameters, Synthetic, Exceptions")