From 9b6597e5facb3d24e240a8a0da75a22305ca9f20 Mon Sep 17 00:00:00 2001 From: Vladimir Votyakov Date: Wed, 10 Oct 2018 16:54:30 +0400 Subject: [PATCH] Fix Authlib obfuscation --- .../ru/gravit/launchserver/defaults/proguard.cfg | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/LaunchServer/src/main/resources/ru/gravit/launchserver/defaults/proguard.cfg b/LaunchServer/src/main/resources/ru/gravit/launchserver/defaults/proguard.cfg index f703b476..d4d89bbe 100644 --- a/LaunchServer/src/main/resources/ru/gravit/launchserver/defaults/proguard.cfg +++ b/LaunchServer/src/main/resources/ru/gravit/launchserver/defaults/proguard.cfg @@ -17,6 +17,8 @@ -keep class ru.zaxar163.* -keep class cpw.mods.fml.* -keep class net.minecraftforge.fml.* +-keep class com.mojang.* +-keep class com.google.gson.* -keepattributes SourceFile,LineNumberTable,*Annotation* -renamesourcefileattribute SourceFile -keepattributes Signature @@ -24,11 +26,7 @@ -keeppackagenames com.eclipsesource.json.**,com.mojang.**,org.apache.**,com.google.gson.** --keep class com.eclipsesource.json.**,com.mojang.**,com.google.gson.** { - ; - ; -} --keep class org.apache.** { +-keep class com.mojang.**,org.apache.**,com.google.gson.**,com.eclipsesource.json.** { *; }