0.2.0-dev Download ZIP
18 lines ·568 B Raw
| 1 | # Protect Godot Engine Core |
| 2 | -keep class com.godot.** { *; } |
| 3 | -keep class org.godotengine.** { *; } |
| 4 | -keep class ** extends org.godotengine.godot.plugin.GodotPlugin { *; } |
| 5 | |
| 6 | # Protect methods exposed to Godot via @UsedByGodot |
| 7 | -keepattributes *Annotation* |
| 8 | -keepclassmembers class * { |
| 9 | @org.godotengine.godot.plugin.UsedByGodot *; |
| 10 | } |
| 11 | |
| 12 | # Protect JNI bindings |
| 13 | -keepclasseswithmembernames class * { |
| 14 | native <methods>; |
| 15 | } |
| 16 | -keep public class * extends android.app.Activity |
| 17 | -keep public class * extends android.app.Application |
| 18 | -keep public class * extends android.app.Service |