I\'ve got a rather complicated project some of which is older code from the past year or so which in React Native time is forever. The regular debug build is working fine but th
Building upon GenericJam's answer, you can do this programatically to all sub libraries by doing something like this in your project build.gradle
file:
subprojects { subproject ->
afterEvaluate{
if((subproject.plugins.hasPlugin('android') || subproject.plugins.hasPlugin('android-library'))) {
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
}
}
}
}