mirror of
https://github.com/status-im/react-native-mail.git
synced 2026-08-30 19:21:08 +00:00
25 lines
652 B
Groovy
25 lines
652 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)
|
|
buildToolsVersion project.hasProperty('buildToolsVersion') ? project.buildToolsVersion : "23.0.1"
|
|
|
|
defaultConfig {
|
|
minSdkVersion 21
|
|
targetSdkVersion project.hasProperty('targetSdkVersion') ? project.targetSdkVersion : 22
|
|
versionCode 1
|
|
versionName "1.0"
|
|
ndk {
|
|
abiFilters "armeabi-v7a", "x86"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'com.facebook.react:react-native:+'
|
|
}
|