apply plugin: 'com.android.library'

def getExt(prop, fallback) {
    rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}

android {
    compileSdkVersion getExt('compileSdkVersion', 29)
    buildToolsVersion getExt('buildToolsVersion', '29.0.3')

    defaultConfig {
        minSdkVersion getExt('minSdkVersion', 16)
        targetSdkVersion getExt('targetSdkVersion', 29)
    }
}

dependencies {
    compileOnly 'com.facebook.react:react-native:+'
}
