apply plugin: 'com.android.library'


buildscript {
    repositories {
        mavenCentral()
        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:1.1.1'
    }
}

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.1"

    defaultConfig {
        minSdkVersion 16
        targetSdkVersion 22
        versionCode 2
        versionName "1.1"
        ndk {
            abiFilters "armeabi-v7a", "x86"
        }
    }
    lintOptions {
       warning 'InvalidPackage'
    }
}

dependencies {
    compile 'com.facebook.react:react-native:+'
    compile 'com.google.android.gms:play-services-gcm:+'
    compile ('com.packetzoom:pz-okhttp3-interceptor:3.2.+') {
        transitive = true
    }
}
