mirror of
https://github.com/zhigang1992/react-native-notifications.git
synced 2026-06-10 15:58:51 +08:00
* Update dependencies and specifically robolectric setup to stop leaking the setup script to dependant projects. * deleted deprecated script prepare-robolectric
41 lines
979 B
Groovy
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
|
|
}
|