2017-04-23 19:22:19 +00:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
2017-12-06 17:25:17 +00:00
|
|
|
maven {
|
|
|
|
url 'https://maven.fabric.io/public'
|
|
|
|
}
|
2017-04-23 19:22:19 +00:00
|
|
|
}
|
|
|
|
dependencies {
|
2017-08-19 04:20:13 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:2.3.3'
|
2017-12-06 17:25:17 +00:00
|
|
|
classpath 'com.google.gms:google-services:3.1.2'
|
2017-09-27 14:41:25 +00:00
|
|
|
classpath 'com.google.firebase:firebase-plugins:1.1.1'
|
2017-12-06 17:25:17 +00:00
|
|
|
classpath 'io.fabric.tools:gradle:1.24.4'
|
2017-04-23 19:22:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
maven {
|
|
|
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
|
|
|
url "$rootDir/../node_modules/react-native/android"
|
|
|
|
}
|
2017-09-27 14:41:25 +00:00
|
|
|
mavenLocal()
|
2017-08-18 20:03:44 +00:00
|
|
|
google()
|
2017-04-23 19:22:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
subprojects {
|
|
|
|
ext {
|
|
|
|
compileSdk = 25
|
|
|
|
buildTools = "25.0.2"
|
|
|
|
minSdk = 16
|
|
|
|
targetSdk = 25
|
|
|
|
}
|
|
|
|
|
|
|
|
afterEvaluate { project ->
|
|
|
|
if (!project.name.equalsIgnoreCase("app")
|
|
|
|
&& project.hasProperty("android")) {
|
|
|
|
android {
|
|
|
|
compileSdkVersion compileSdk
|
|
|
|
buildToolsVersion buildTools
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion minSdk
|
|
|
|
targetSdkVersion targetSdk
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|