How to hide the public API of dependencies (.jar libraries) in Android module?

531 Views Asked by At

I am creating an Android library which depends on another library I created. However when I create an aar/jar file of my new library, I can still reach the public classes from the library I depend on.

Is there any way to make the dependencies visible internally only?

0

There are 0 best solutions below