2015-10-30 17:43:18 -07:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
2018-07-24 17:36:24 +03:00
|
|
|
def safeExtGet(prop, fallback) {
|
|
|
|
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
|
|
|
}
|
2018-06-21 10:29:38 -07:00
|
|
|
|
2015-10-30 17:43:18 -07:00
|
|
|
android {
|
2019-06-19 14:37:21 +07:00
|
|
|
compileSdkVersion safeExtGet('compileSdkVersion', 28)
|
|
|
|
buildToolsVersion safeExtGet('buildToolsVersion', '28.0.3')
|
2015-10-30 17:43:18 -07:00
|
|
|
|
|
|
|
defaultConfig {
|
2018-07-24 17:36:24 +03:00
|
|
|
minSdkVersion safeExtGet('minSdkVersion', 16)
|
2019-06-19 14:37:21 +07:00
|
|
|
targetSdkVersion safeExtGet('targetSdkVersion', 28)
|
2015-10-30 17:43:18 -07:00
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
ndk {
|
|
|
|
abiFilters "armeabi-v7a", "x86"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2017-03-21 13:25:46 -07:00
|
|
|
//noinspection GradleDynamicVersion
|
2019-05-24 17:53:13 +09:00
|
|
|
implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
|
2018-09-06 09:44:27 +01:00
|
|
|
implementation 'com.yqritc:android-scalablevideoview:1.0.4'
|
2015-10-30 17:43:18 -07:00
|
|
|
}
|