Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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"

like image 680
scana Avatar asked Aug 26 '13 08:08

scana


1 Answers

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

File content example:

com.scana.MyClass -> tx:

like image 102
scana Avatar answered Sep 20 '22 06:09

scana