Don't keep every class from being optimized by proguard in the fabric and forge gradle projects

This commit is contained in:
Username404 2021-07-16 16:47:17 +02:00
parent 93877b14cb
commit 38e0989358
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 3 additions and 2 deletions

View File

@ -99,8 +99,9 @@ subprojects {
injars(shadowJar)
outjars("$buildDir/shrinkedJar/${shadowJar.outputs.files.singleFile.name}")
keep("class $group.snowygui.mixins.* { * ; }")
keep("class $group.snowygui.fabric.**")
keep("class $group.snowygui.forge.**")
keep("class $group.snowygui.fabric.FabricInit")
keep("class $group.snowygui.fabric.ModMenuConf")
keep("class $group.snowygui.forge.ForgeInit")
keepnames("class $group.snowygui.Snowy")
keepnames("class $group.snowygui.gui.feature.Macro { <fields>; }")
keep("class $group.snowygui.gui.feature.* { public static *** INSTANCE; }")