refine android config (#20731)
Summary: By this change we can unify version early, like we can make kotlin version share in buildscript and app dependency the same time ([butterknife](https://github.com/JakeWharton/butterknife/blob/master/build.gradle) use the same). pass all current ci and one of my project https://github.com/gengjiawen/ReactNative64bitDemo. none [GENERAL] [ANDROID] [TEMPLATE] - refine android config Pull Request resolved: https://github.com/facebook/react-native/pull/20731 Differential Revision: D9482954 Pulled By: hramos fbshipit-source-id: d864adbdbc624bc311ccc5f44a15d0334d2d8a59
This commit is contained in:
parent
3949e937cc
commit
e2f2e41f09
|
@ -1,6 +1,13 @@
|
|||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
|
||||
buildscript {
|
||||
ext {
|
||||
buildToolsVersion = "27.0.3"
|
||||
minSdkVersion = 16
|
||||
compileSdkVersion = 27
|
||||
targetSdkVersion = 26
|
||||
supportLibVersion = "27.1.1"
|
||||
}
|
||||
repositories {
|
||||
jcenter()
|
||||
google()
|
||||
|
@ -25,13 +32,6 @@ allprojects {
|
|||
}
|
||||
}
|
||||
|
||||
ext {
|
||||
buildToolsVersion = "27.0.3"
|
||||
minSdkVersion = 16
|
||||
compileSdkVersion = 27
|
||||
targetSdkVersion = 26
|
||||
supportLibVersion = "27.1.1"
|
||||
}
|
||||
|
||||
task wrapper(type: Wrapper) {
|
||||
gradleVersion = '4.4'
|
||||
|
|
Loading…
Reference in New Issue