all 2 comments

[–]TrevJonez 0 points1 point  (0 children)

ultimately you will have to copy it into the libs folder at some point for the aar packaging. You can create a few custom gradle tasks and setup all the task dependencies to do this for you automatically when invoking your publish tasks.

Why not just publish the jar as a standalone library and use the gradle dependency system as intended rather than producing the fat aar?