Store Javadoc when running proguard

I am working on a (Android) library that I want to distribute. When creating an archive ( aar

file), I run Proguard to obfuscate the source code.

It works great, except that the Javadoc is removed from the resulting files (if for example I open a file from my library from the IDE). Can Proguard be configured to save Javadoc? My current configuration is this: (no first 4 lines).

I found this similar question: How to keep the javadoc visible after code obfuscation with ProGuard? but he doesn't say if it's possible or not.


source to share

All Articles