1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- // Top-level build file where you can add configuration options common to all sub-projects/modules.
- buildscript {
- repositories {
- jcenter()
- maven {
- url 'https://maven.google.com/'
- name 'Google'
- }
- google()
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:3.1.2'
- // NOTE: Do not place your application dependencies here; they belong
- // in the individual module build.gradle files
- }
- }
- subprojects {
- project.configurations.all {
- afterEvaluate {project ->
- if (project.hasProperty("android")) {
- android {
- compileSdkVersion 27
- buildToolsVersion '27.0.3'
- }
- }
- }
- }
- }
- allprojects {
- repositories {
- mavenLocal()
- 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 'https://maven.google.com/'
- name 'Google'
- }
- maven { url "https://jitpack.io" }
- }
- }
- ext {
- buildToolsVersion = "26.0.3"
- minSdkVersion = 16
- compileSdkVersion = 26
- targetSdkVersion = 26
- supportLibVersion = "26.1.0"
- }
|