apply plugin: 'com.android.library'

buildscript {
    repositories {
        google()
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:4.2.0'
    }
}

repositories {
    mavenCentral()
    maven { url "https://repo.leanplum.com/" }
    maven { url "$rootDir/node_modules/react-native/android" }
    maven { url "$rootDir/node_modules/jsc-android/dist" }
    maven { url 'https://jitpack.io' }
}

android {
    compileSdkVersion 31
    buildToolsVersion '31.0.0'

    defaultConfig {
        minSdkVersion 16
        targetSdkVersion 31
        versionCode 1
        versionName "1.0"
        ndk {
            abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86' ,'x86_64'
        }
    }
    lintOptions {
        warning 'InvalidPackage'
    }
}
dependencies {
    compile "com.facebook.react:react-native:+"
    compile 'com.leanplum:leanplum-fcm:5.2.3'
    compile 'com.google.firebase:firebase-messaging:17.5.0'

    compile 'com.leanplum:leanplum-location:5.2.3'
    compile "com.google.android.gms:play-services-location:17.0.0"
}