I have a project that includes main project with library project as dependency to it:
dependencies {
compile project(':Core')
}
"Core" project need to have division by flavors, but when I add these lines to build.gradle file:
productFlavors {
production {
buildConfigField "com.evoz.core.BuildType", "flavor", "com.evoz.core.BuildType.PRODUCTION"
}
staging {
buildConfigField "com.evoz.core.BuildType", "flavor", "com.evoz.core.BuildType.STAGING"
}
}
Project compilation brakes saying that it doesn't find resources and classes of library project.
I'm using android gradle plugin 0.12.+, Android Studio 0.8.4 and 19.1.0 build tools version.
If library project flavors support is not working currently, then when it will?
Thanks,
Alexey.