2015-09-14 14:35:58 +00:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
2018-08-23 06:12:41 +00:00
|
|
|
google()
|
2015-09-14 14:35:58 +00:00
|
|
|
}
|
|
|
|
dependencies {
|
2018-08-23 06:12:41 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:3.1.4'
|
2015-09-14 14:35:58 +00:00
|
|
|
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
// in the individual module build.gradle files
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
jcenter()
|
2016-02-09 14:36:30 +00:00
|
|
|
maven {
|
|
|
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
2016-05-25 14:48:01 +00:00
|
|
|
url "$rootDir/../node_modules/react-native/android"
|
2016-02-09 14:36:30 +00:00
|
|
|
}
|
2018-08-23 06:12:41 +00:00
|
|
|
google()
|
2015-09-14 14:35:58 +00:00
|
|
|
}
|
|
|
|
}
|
2018-06-28 03:25:32 +00:00
|
|
|
|
|
|
|
ext {
|
2018-08-23 06:07:33 +00:00
|
|
|
buildToolsVersion = "27.0.3"
|
2018-06-28 03:25:32 +00:00
|
|
|
minSdkVersion = 16
|
2018-08-23 06:07:33 +00:00
|
|
|
compileSdkVersion = 27
|
2018-06-28 03:25:32 +00:00
|
|
|
targetSdkVersion = 26
|
2018-08-21 00:56:43 +00:00
|
|
|
supportLibVersion = "27.1.1"
|
2018-06-28 03:25:32 +00:00
|
|
|
}
|
2018-08-08 21:50:31 +00:00
|
|
|
|
|
|
|
task wrapper(type: Wrapper) {
|
|
|
|
gradleVersion = '4.4'
|
|
|
|
distributionUrl = distributionUrl.replace("bin", "all")
|
|
|
|
}
|