java - How to obfuscate a library jar in ProGuard? -
i have jar uses jar library. want them both obfuscated.
quoting proguard documentation:
proguard requires library jars (or wars, ears, zips, or directories) of input jars specified. these libraries need compiling code. proguard uses them reconstruct class dependencies necessary proper processing. the library jars remain unchanged. should still put them in class path of final application.
how can change behavior?
update:
cannot use incremental obfuscation because wouldn't know specify entry points library jar.
you need specify 2 jars input jars (with option -injars
). both obfuscated. other jars, such run-time jar, library jars (specified option -libraryjars
). proguard needs them process code, leaves them unchanged.
Comments
Post a Comment