mirror of
https://github.com/status-im/react-native.git
synced 2025-02-24 07:08:27 +00:00
Summary:
Upgrade React Native to Android SDK 27 again, following the reversal in D9886607 (68c7999c25
).
The SDK 27 is actually available internally in an alternate location that is suitable for use cases like React Native's. For future reference, SDK 28 is also available for use in this location.
Reviewed By: axe-fb
Differential Revision: D9929066
fbshipit-source-id: 9413f891d5587293a30544351340e9407a2dce55
40 lines
974 B
Groovy
40 lines
974 B
Groovy
// 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 = 27
|
|
supportLibVersion = "27.1.1"
|
|
}
|
|
repositories {
|
|
jcenter()
|
|
google()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:3.1.4'
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
mavenLocal()
|
|
jcenter()
|
|
maven {
|
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
|
url "$rootDir/../node_modules/react-native/android"
|
|
}
|
|
google()
|
|
}
|
|
}
|
|
|
|
|
|
task wrapper(type: Wrapper) {
|
|
gradleVersion = '4.4'
|
|
distributionUrl = distributionUrl.replace("bin", "all")
|
|
}
|