Closed hyochan closed 6 years ago
@thorbenprimke Could you please take a look at this PR? Thanks!
@maicki @thorbenprimke I just got notified and I updated code safer.
@dooboolab Hey - I would like to go forward with this, just some small improvements before landing. Can you extract setting the version via a function like:
def safeExtGet(prop, fallback) {
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}
and set each value like:
// ...
compileSdkVersion safeExtGet('compileSdkVersion', DEFAULT_COMPILE_SDK_VERSION)
// ...
React Native now has its project set up with default build version of androids sdk. Set android build version to that of rootProject’s to prevent from build failing cause of version mismatch.