diff --git a/build.gradle.kts b/build.gradle.kts index a202e0f..20e07b8 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -41,13 +41,14 @@ subprojects { outjars("$rootDir/shrinkedJars/") keep("class $group.snowygui.mixins.* { * ; }") keep("class $group.snowygui.fabric.** { * ; }") - keep("class $group.snowygui.forge.** { * ; }") + keepnames("class $group.snowygui.Snowy") keepclassmembers("class $group.snowygui.** { public protected ; }") keepattributes("*Annotation*, Signature, InnerClasses, EnclosingMethod, MethodParameters, Synthetic, Exceptions") obfuscationdictionary("$dictionariesDir/dictionary.txt") classobfuscationdictionary("$dictionariesDir/classdictionary.txt") packageobfuscationdictionary("$dictionariesDir/packagesdictionary.txt") flattenpackagehierarchy("$group.snowygui") + allowaccessmodification() adaptclassstrings() "$group.**".also { dontwarn(it); dontnote(it) }