Let's say I have the following classes:
com.example.whatever.ClassA
com.example.whatever.ClassB
I want to obfuscate my class and package names, but keep the com.example
prefix. Obfuscating the above names with this in mind should output something like:
com.example.a.a
com.example.a.b
There's the -keeppackagenames
flag, but I don't want to keep the whole package name - just the prefix.
How can this be achieved?