react-native-firebase/bridge/android/build.gradle

50 lines
954 B
Groovy
Raw Normal View History

2018-03-23 13:40:07 +00:00
buildscript {
2018-03-23 22:18:19 +00:00
repositories {
google()
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'
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()
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
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
}
}