Depends on what you want for the syntax, but if you want the files jar
in the root directoryaar
android {
...
sourceSets {
main {
resources.includes = [ '**/libs/*.jar' ]
}
}
If you want to include the entire folder, I think it should be what you want
android {
...
sourceSets {
main {
resources.includes = [ 'pathTo/libs' ]
}
}
, , , , aar
, , - jcenter
mavenCentral
, maven pom
, gradle .