scana
scana

Reputation: 2866

Custom obfuscated class name in proguard

Is there any way to set custom class name in proguard (command in proguard.cfg)?

Let's say that I've got class com.scana.MyClass and I want proguard to always obfuscate it as "tx"

Upvotes: 10

Views: 1874

Answers (1)

scana
scana

Reputation: 2866

Problem solved. You can use: -applymapping file-name in proguard.cfg

File content example:

com.scana.MyClass -> tx:

Upvotes: 10

Related Questions