-
Notifications
You must be signed in to change notification settings - Fork 2
/
monero-kit-proguard-consumer-rules.pro
54 lines (44 loc) · 1.86 KB
/
monero-kit-proguard-consumer-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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in C:\Users\wangping\AppData\Local\Android\Sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in create.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
-optimizationpasses 5
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-verbose
-dontwarn
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
-keep public class waterhole.miner.monero.** extends android.app.Service
-keep public class waterhole.miner.monero.** extends android.content.BroadcastReceiver
-keepattributes SourceFile,LineNumberTable,InnerClasses
-keepclasseswithmembernames class waterhole.miner.monero.** {
native <methods>;
}
-keepclassmembers class waterhole.miner.monero.** implements java.io.Serializable {
static final long serialVersionUID;
private static final java.io.ObjectStreamField[] serialPersistentFields;
private void writeObject(java.io.ObjectOutputStream);
private void readObject(java.io.ObjectInputStream);
java.lang.Object writeReplace();
java.lang.Object readResolve();
}
-keep public class waterhole.miner.monero.** extends waterhole.miner.core.WaterholeMiner {
public protected *;
}
-keep public class waterhole.miner.monero.** implements waterhole.miner.core.MinerCallback {
public protected *;
}
-keep public class waterhole.miner.monero.** implements waterhole.miner.core.NoProguard {
public protected *;
}