react-native-firebase/tests-new/android/build.gradle

51 lines
955 B
Groovy
Raw Normal View History

2018-03-23 13:40:07 +00:00
buildscript {
2018-03-23 22:18:19 +00:00
repositories {
jcenter()
google()
maven {
url 'https://maven.fabric.io/public'
2018-03-23 13:40:07 +00:00
}
2018-03-23 22:18:19 +00:00
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.google.gms:google-services:3.1.2'
classpath 'com.google.firebase:firebase-plugins:1.1.1'
classpath 'io.fabric.tools:gradle:1.25.1'
}
2018-03-23 13:40:07 +00:00
}
allprojects {
2018-03-23 22:18:19 +00:00
repositories {
mavenLocal()
jcenter()
google()
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
buildTools = "27.0.2"
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
}
}
2018-03-23 14:26:11 +00:00