android - How to exclude this particuar class from ProGuard obfuscation -


i want exclude class being obfuscated proguard

- com.example.myapp.thisparticularclass.java 

how can that?

i looked other answers packages, or class members or using gson annotations

ps: , if thisparticularclass extends class, should keep parent class obfuscation well?

use such statement:

-keep class com.example.myapp.thisparticularclass 

or:

-keep public class * extends com.example.myapp.thisparticularclass 

Comments