Reputation: 69
Does Proguard have an option to specify names of obfuscated classes?
Something to configure in proguard.flag file or adding mymap.map file with list of classes and names as below?
com.myclasses.MyClass -> com.priv.mc
Upvotes: 2
Views: 1284
Reputation: 1210
You can add your own mapping file adding:
-applymapping yourMappingFile
to your proguard-rules.pro file.
and inside use:
com.myclasses.MyClass -> com.priv.mc
To avoid creating whole file by yourself just use:
-printmapping mapping.txt
build your project (the file mappint.txt will be created) and than just edit records that you find important.
Upvotes: 3