2018-03-23 13:40:07 +00:00
|
|
|
buildscript {
|
2018-03-23 22:18:19 +00:00
|
|
|
repositories {
|
|
|
|
google()
|
2018-05-29 15:18:04 +00:00
|
|
|
jcenter()
|
2018-03-23 22:18:19 +00:00
|
|
|
maven {
|
|
|
|
url 'https://maven.fabric.io/public'
|
2018-03-23 13:40:07 +00:00
|
|
|
}
|
2018-03-23 22:18:19 +00:00
|
|
|
}
|
|
|
|
dependencies {
|
2018-07-10 21:51:45 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:3.1.3'
|
2018-05-29 15:18:04 +00:00
|
|
|
classpath 'com.google.gms:google-services:4.0.1'
|
2018-03-23 22:18:19 +00:00
|
|
|
classpath 'com.google.firebase:firebase-plugins:1.1.1'
|
2018-07-03 15:23:40 +00:00
|
|
|
classpath 'io.fabric.tools:gradle:1.25.4'
|
2018-03-23 22:18:19 +00:00
|
|
|
}
|
2018-03-23 13:40:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
2018-03-23 22:18:19 +00:00
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
google()
|
2018-05-29 15:18:04 +00:00
|
|
|
jcenter()
|
2018-03-23 22:18:19 +00:00
|
|
|
maven {
|
|
|
|
url "$rootDir/../node_modules/react-native/android"
|
2018-03-23 13:40:07 +00:00
|
|
|
}
|
2018-03-23 22:18:19 +00:00
|
|
|
}
|
2018-03-23 13:40:07 +00:00
|
|
|
}
|
2018-03-23 14:26:11 +00:00
|
|
|
|
|
|
|
subprojects {
|
2018-03-23 22:18:19 +00:00
|
|
|
ext {
|
|
|
|
compileSdk = 27
|
2018-05-12 20:16:40 +00:00
|
|
|
buildTools = "27.0.3"
|
2018-03-23 22:18:19 +00:00
|
|
|
minSdk = 18
|
|
|
|
targetSdk = 26
|
|
|
|
}
|
2018-03-23 14:26:11 +00:00
|
|
|
|
2018-03-23 22:18:19 +00:00
|
|
|
afterEvaluate { project ->
|
|
|
|
if (!project.name.equalsIgnoreCase("app")
|
|
|
|
&& project.hasProperty("android")) {
|
|
|
|
android {
|
|
|
|
compileSdkVersion compileSdk
|
|
|
|
buildToolsVersion buildTools
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion minSdk
|
|
|
|
targetSdkVersion targetSdk
|
2018-03-23 14:26:11 +00:00
|
|
|
}
|
2018-03-23 22:18:19 +00:00
|
|
|
}
|
2018-03-23 14:26:11 +00:00
|
|
|
}
|
2018-03-23 22:18:19 +00:00
|
|
|
}
|
|
|
|
}
|