29 lines
708 B
Groovy
29 lines
708 B
Groovy
apply plugin: 'com.android.library'
|
|
|
|
def safeExtGet(prop, fallback) {
|
|
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion safeExtGet('compileSdkVersion', 30)
|
|
|
|
defaultConfig {
|
|
minSdkVersion safeExtGet('minSdkVersion', 21)
|
|
targetSdkVersion safeExtGet('targetSdkVersion', 30)
|
|
versionCode 3
|
|
versionName "1.4.2"
|
|
ndk {
|
|
abiFilters "armeabi-v7a", "x86"
|
|
}
|
|
}
|
|
lintOptions {
|
|
warning 'InvalidPackage'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
|
|
implementation "androidx.datastore:datastore-preferences:1.0.0"
|
|
}
|
|
|