Fix root main being removed by Proguard

Fix #181.
This commit is contained in:
Mygod
2020-08-12 12:17:16 +08:00
parent de9d2a744f
commit 41aa43293a

View File

@@ -20,3 +20,10 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-if public class be.mygod.librootkotlinx.RootServer {
private void doInit(android.content.Context, java.lang.String);
}
-keep class be.mygod.librootkotlinx.RootServer {
public static void main(java.lang.String[]);
}