How to keep javadoc visible after obfuscating

后端 未结 2 1478
耶瑟儿~
耶瑟儿~ 2020-12-21 23:23

I built a nice Javadoc documentation for my project which is a JAR file for developers.

But after I run proguard in order to obfuscat my code all th

2条回答
  •  攒了一身酷
    2020-12-21 23:45

    From the Proguard's page:

    ProGuard is integrated into the Android build system, so you do not have to invoke it manually. ProGuard runs only when you build your application in release mode, so you do not have to deal with obfuscated code when you build your application in debug mode. Having ProGuard run is completely optional, but highly recommended.

    So I am not sure why are you running Proguard. Just configure it in your project and leave the build system to obfuscate upon release build. Your source code remains untouched this way.

提交回复
热议问题