I’m working on an Android Library for all the common pieces of code we reuse in a lot of projects. In the Library I have a nested file structure so I can order the sub modules more clearly. The project can be found on Github to make it more clear how the structure is (https://github.com/appwise-labs/AndroidCore)
--| Core (library)
--| data
--| Networking (library)
--| Room (library)
--| customViews
--| CustomView1 (library)
Everything compiles correctly and I can also add the dependencies to a project.
But only the sourceCode of the Core module is visible when I want to inspect the code of the dependencies. I can also verify that the Jitpack build log states that a sources.jar
file for the Core module has been created.
In case I add a new module to the root of the repo, the source of that new module is visible.
I'm wondering what it exactly is that I'm missing. Is it something specific in the Gradle configuration?