2015-10-30 18:43:18 -06:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
2018-07-24 08:36:24 -06:00
|
|
|
def safeExtGet(prop, fallback) {
|
|
|
|
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
|
|
|
}
|
2018-06-21 11:29:38 -06:00
|
|
|
|
2015-10-30 18:43:18 -06:00
|
|
|
android {
|
2022-06-15 11:24:55 -06:00
|
|
|
compileSdkVersion safeExtGet('compileSdkVersion', 31)
|
|
|
|
buildToolsVersion safeExtGet('buildToolsVersion', '30.0.2')
|
2015-10-30 18:43:18 -06:00
|
|
|
|
|
|
|
defaultConfig {
|
2022-06-15 11:24:55 -06:00
|
|
|
minSdkVersion safeExtGet('minSdkVersion', 21)
|
2019-06-19 01:37:21 -06:00
|
|
|
targetSdkVersion safeExtGet('targetSdkVersion', 28)
|
2015-10-30 18:43:18 -06:00
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
ndk {
|
|
|
|
abiFilters "armeabi-v7a", "x86"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2017-03-21 14:25:46 -06:00
|
|
|
//noinspection GradleDynamicVersion
|
2019-05-24 02:53:13 -06:00
|
|
|
implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
|
2022-05-04 19:21:17 -06:00
|
|
|
implementation 'com.github.thang2162:Android-ScalableVideoView:v1.1.1'
|
2015-10-30 18:43:18 -06:00
|
|
|
}
|