I am using the experimental gradle plugin with Gradle 2.5 and AS 1.4; I have the following in my build.gradle file
android.sources {
main {
jni {
source {
srcDirs += "src/main/jni"
srcDirs += "${fooRoot}/fooFolder"
}
}
}
}
What happens is all the contents of fooFolder become children of the src/main/jni folder. Is there a way to specify a destination folder so they become children of say src/main/jni/fooFolderDestination for eg?