Does anyone know the way to hide public classes in JAR file. In other words is there any way to create "jar-visible" classes. The point is to hide public classes in my JAR file and provide to my JAR-users access to specified classes. F.e. similar thing is implemented in OSGI framework with the help of "Export-Package" parameter in MANIFEST.MF
Use ProGuard ( http://proguard.sourceforge.net/ ) lib.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With