I am trying to do what I thought would be the simplest thing ever. I have an android-library project and am trying to include the /libs/ folder but having no luck. I know generally its best to rely on a distributed pom and let the users of the aar utilise gradles normal dependency resolution but I dont want to do that for this case.
Thanks for reply. I am already adding the local files in libs as dependencies via compile: name: "... and thats all fine and everything builds correctly / stuff is on the classpath etc. The problem is that the .aar does not by default contain the /lib/ folder - this is generally best practise but in this case I want to include.
I didnt try include the dependencies with your method as opposed to the one I am currently using but as expected this alone does not add the /libs/ folder into the output aar.