I am using Gradle Plugin 3.0.0 to build one module to create one released AAR file. There are some dependent libraries for this module and they are local jar files. What I want to do is to include all the jar files into the output AAR files and make some application import this AAR as a independent library.
When I am using “compileOnly” in build.gradle, the “classes.jar” only contains the classes in my module “src” folder while there is no jar files in the “libs” folder in the AAR. When I am using “api” or “implementation” in build.gradle, the “classes.jar” contains all the classes which includes all of my module “src” folder and all of the jar files, and all of them is obfuscated. And there is no jar files in the “libs” folder in the AAR. Either of them is not what I want, in my ideal AAR file, the “classes.jar” only contains all the obfuscated classes in my “src” folder, and the “libs” folder should contain the jar files which is for the dependency. How I can do that? Help!!! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/d76286af-ef87-4f50-9d5c-db4718f4ce5b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.