java - How to make my Android library source code visible when a user adds the gradle dependency (so code doesn't have to be decompiled in Android Studio) -
i have android library on jitpack.io , let devs add library adding dependency. i've noticed if dependency added, library classes have decompiled view code.
so example, have class in library called viewstack. when try go class file view source code, it's decompiled version of .class file. , thus, documentation not there.
how can make code entirely viewable (no decompiling necessary) , docs come through if user adding library gradle dependency?
this library if curious: https://github.com/jayyyr/pancakesonplates
it depends if you're publishing library aar or jar.
for aar files doesn't seem possible @ moment how publish android .aar sources make android studio automatically find them?
for jar need publish -sources.jar file along main jar.