From 8ed7b550542e54e1e4ca9f088ac09dfb40bd3ba8 Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Tue, 27 Apr 2021 20:40:12 +0200 Subject: [PATCH] Shrink the packages a bit more --- build.gradle.kts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) }