Hey, hope you are well! I have a rather complex project I’m trying to obfuscate, I have it working fine but there’s a few more things I’d like to get obfuscated that I’m having issues with.
The main application jar contains an encrypted jar that gets loaded, the internal jar uses a library that is only included with the main application, these are the classes I’m having issues with.
My first thought to solve this is to obfuscate the shared library first, and then apply that mapping to the internal jar, pack it into the main jar and then apply the mapping and final obfuscation to the final jar, so that the library included in the main application and the references to it in the internal jar are all obfuscated and match, however when I try to do this I can’t apply the mapping to the internal jar, I’m guessing because the classes aren’t included?
I also just tried to test filtering out a library from the outjar so I could include it, get things renamed and filter it at the end but for some reason it seemed to prevent the outjar from getting built at all.