mirror of
https://github.com/packwiz/packwiz-installer.git
synced 2025-10-16 08:04:31 +02:00
Move to R8 shrinker, tweak compile args
This commit is contained in:
17
src/main/proguard.txt
Normal file
17
src/main/proguard.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
-dontoptimize
|
||||
-dontobfuscate
|
||||
|
||||
# Used by Okio and OkHttp
|
||||
-dontwarn org.codehaus.mojo.animal_sniffer.*
|
||||
-dontwarn okhttp3.internal.platform.**
|
||||
-dontwarn org.conscrypt.**
|
||||
-dontwarn org.bouncycastle.**
|
||||
-dontwarn org.openjsse.**
|
||||
|
||||
-keep class !link.infra.packwiz.installer.deps.**,link.infra.packwiz.installer.** { *; }
|
||||
|
||||
-keep class com.google.gson.reflect.TypeToken { *; }
|
||||
-keep class * extends com.google.gson.reflect.TypeToken
|
||||
|
||||
-renamesourcefileattribute SourceFile
|
||||
-keepattributes *Annotation*,SourceFile,LineNumberTable,Signature
|
Reference in New Issue
Block a user