// Top-level build file where you can add configuration options common to all sub-projects/modules.

apply plugin: 'com.android.library'
apply from: 'gradle-maven-push.gradle'

buildscript {
  repositories {
      mavenLocal()
      jcenter()
      maven {
          // For developing the library outside the context of the example app, expect `react-native`
          // to be installed at `./node_modules`.
          url "$projectDir/../node_modules/react-native/android"
      }
      maven {
          // For developing the example app.
          url "$projectDir/../../react-native/android"
      }
  }
  dependencies {
    classpath 'com.android.tools.build:gradle:2.1.0'
  }
}

allprojects {
  repositories {
    mavenLocal()
    jcenter()
    maven {
        // For developing the library outside the context of the example app, expect `react-native`
        // to be installed at `./node_modules`.
        url "$projectDir/../node_modules/react-native/android"
    }
    maven {
        // For developing the example app.
        url "$projectDir/../../react-native/android"
    }
  }
}

android {
  compileSdkVersion 23
  buildToolsVersion "23.0.3"

  defaultConfig {
    minSdkVersion 16
    targetSdkVersion 23
  }

  lintOptions {
    disable 'InvalidPackage'
  }
}

dependencies {
  compile 'com.facebook.react:react-native:+'
  compile "com.google.android.gms:play-services-base:9.4.0"
  compile 'com.google.android.gms:play-services-maps:9.4.0'
}
