ProGuard для gson

This commit is contained in:
Gravit 2018-10-02 20:57:19 +07:00
parent b141d14d74
commit 73c3dec29f

View file

@ -1,18 +1,3 @@
-libraryjars '<java.home>/lib/rt.jar'
-libraryjars '<java.home>/lib/jce.jar'
-libraryjars '<java.home>/lib/ext/nashorn.jar'
-keepattributes SourceFile,LineNumberTable
-renamesourcefileattribute Source
-dontnote
-dontwarn
-dontshrink
-dontoptimize
-ignorewarnings
-target 8
-forceprocessing
-overloadaggressively
-repackageclasses 'ru.gravit.launcher' -repackageclasses 'ru.gravit.launcher'
-keep class ru.zaxar163.* -keep class ru.zaxar163.*
-keep class cpw.mods.fml.* -keep class cpw.mods.fml.*
@ -22,9 +7,9 @@
-keepattributes Signature -keepattributes Signature
-adaptresourcefilecontents META-INF/MANIFEST.MF -adaptresourcefilecontents META-INF/MANIFEST.MF
-keeppackagenames com.eclipsesource.json.**,com.mojang.**,org.apache.** -keeppackagenames com.eclipsesource.json.**,com.mojang.**,org.apache.**,com.google.gson.**
-keep class com.eclipsesource.json.**,com.mojang.** { -keep class com.eclipsesource.json.**,com.mojang.**,com.google.gson.** {
<fields>; <fields>;
<methods>; <methods>;
} }