Files
react-native-notifications/example/android/build.gradle
Rotem Mizrachi-Meidan e980745d91 Update Robolectric setup (#422)
* Update dependencies and specifically robolectric setup to stop leaking the setup script to dependant projects.

* deleted deprecated script prepare-robolectric
2019-12-14 19:21:28 +02:00

41 lines
979 B
Groovy

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
buildToolsVersion = "28.0.3"
minSdkVersion = 16
compileSdkVersion = 28
targetSdkVersion = 26
supportLibVersion = "28.0.3"
}
repositories {
google()
mavenLocal()
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.3'
classpath 'com.google.gms:google-services:4.0.1'
}
}
allprojects {
repositories {
mavenLocal()
mavenCentral()
google()
jcenter()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../../node_modules/react-native/android"
}
maven { url "$rootDir/../../node_modules/jsc-android/dist" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}