apply plugin: 'com.android.library'
android {
    compileSdkVersion 31
    buildToolsVersion '28.0.3'

    defaultConfig {
        minSdkVersion 21
        targetSdkVersion 31
        versionCode 1
        versionName "1.0"
        consumerProguardFiles("proguard-rules.pro")
        ndk {
            abiFilters 'armeabi-v7a','x86_64','arm64-v8a','x86'
        }
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}
buildscript {
    repositories {
        google()
        mavenCentral()
        // maven { url "https://maven.appspector.com/artifactory/android-sdk" }

    }
    dependencies {
        classpath("com.android.tools.build:gradle:4.0.2")
    }
}

repositories {
    maven {
        url "https://mvnrepository.com/artifact/org.videolan.android"
    }
    google()
    jcenter()
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation "com.facebook.react:react-native:+"
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
    implementation 'org.videolan.android:libvlc-all:3.6.0-eap9'
}
