mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +03:00
ProGuard для gson
This commit is contained in:
parent
b141d14d74
commit
73c3dec29f
1 changed files with 2 additions and 17 deletions
|
@ -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>;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue