Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Build a fat aar which will include other sub modules as jar/aar using Gradle

I have a top level android library module (containing res folder) dependent on other library sub modules(no res). I want to build a fat aar of the top level module which should include the jar of the sub modules as well as any other aar dependency which I mention in the build.gradle. Is this possible? how? I can give more info if needed.

like image 638
V_Coder_Z Avatar asked Jan 28 '26 22:01

V_Coder_Z


1 Answers

Check out the fat-aar.gradle script that does exactly this: https://github.com/adwiv/android-fat-aar

like image 171
Muzikant Avatar answered Jan 31 '26 12:01

Muzikant