mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: bump android gradle plugin to 3.4.1, includes many fixes and improvements. ## Changelog [Android] [Changed] - bump android gradle plugin to 3.4.1 Pull Request resolved: https://github.com/facebook/react-native/pull/24883 Differential Revision: D15474556 Pulled By: hramos fbshipit-source-id: 8d1eb91855b9f416ed3380c61f34672deded26c1
39 lines
993 B
Groovy
39 lines
993 B
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
ext {
|
|
buildToolsVersion = "28.0.3"
|
|
minSdkVersion = 16
|
|
compileSdkVersion = 28
|
|
targetSdkVersion = 28
|
|
supportLibVersion = "28.0.0"
|
|
}
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath("com.android.tools.build:gradle:3.4.1")
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
mavenLocal()
|
|
maven {
|
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
|
url("$rootDir/../node_modules/react-native/android")
|
|
}
|
|
maven {
|
|
// Android JSC is installed from npm
|
|
url("$rootDir/../node_modules/jsc-android/dist")
|
|
}
|
|
|
|
google()
|
|
jcenter()
|
|
}
|
|
}
|