Hi,
I am trying out one of the newer snapshot builds and there is a difference between how the "apply from: " is working. Basically I want to move out some common changes to the model out to seperate file, specifically native prebuilt libraries:
model {
repositories {
libs(PrebuiltLibraries) {
some-common-prebuilt-lib {
binaries.withType(StaticLibraryBinary) {
staticLibraryFile = file("${project.rootDir}/<path-to-lib>/<libname>.a")
}
}
}
}
}
This is then applied to in build.gradle file:
apply plugin: 'cpp'
apply plugin: 'c'
apply from: "<path-common-prebuilt-libs>"
This worked with build gradle-2.4-20150202230023+0000-bin.zip and is not working with gradle-2.4-20150224230024+0000-bin.zip.
I am aware that the snapshot builds may contain breaking changes I just wanted to double check if this intentional and if it is what would be the correct way to seperate out common build elements.
Regards, Ante