-
-
Notifications
You must be signed in to change notification settings - Fork 483
/
proguard-rules.pro
30 lines (23 loc) · 913 Bytes
/
proguard-rules.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
-dontobfuscate
-keepattributes LineNumberTable,SourceFile,RuntimeVisibleAnnotations,AnnotationDefault,InnerClasses,EnclosingMethod
-keepclassmembers class * extends org.quantumbadger.redreader.io.WritableObject {
*;
}
-keepclassmembers class * extends org.quantumbadger.redreader.jsonwrap.JsonObject$JsonDeserializable {
*;
}
-keepclassmembers class org.quantumbadger.redreader.R { *; }
-keepclassmembers class org.quantumbadger.redreader.R$xml { *; }
-keepclassmembers class org.quantumbadger.redreader.R$string { *; }
-keepclassmembers class com.github.luben.zstd.* {
*;
}
-if @kotlinx.serialization.Serializable class **
{
static **$* *;
}
-keepnames class <1>$$serializer { # -keepnames suffices; class is kept when serializer() is kept.
static <1>$$serializer INSTANCE;
}
# Needed for instrumented tests for some reason
-keep class com.google.common.util.concurrent.ListenableFuture { *; }