react-native-video/android/build.gradle

27 lines
746 B
Groovy
Raw Normal View History

2015-10-30 18:43:18 -06:00
apply plugin: 'com.android.library'
def safeExtGet(prop, fallback) {
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}
2015-10-30 18:43:18 -06:00
android {
2019-06-19 01:37:21 -06:00
compileSdkVersion safeExtGet('compileSdkVersion', 28)
buildToolsVersion safeExtGet('buildToolsVersion', '28.0.3')
2015-10-30 18:43:18 -06:00
defaultConfig {
2019-06-19 01:46:20 -06:00
minSdkVersion safeExtGet('minSdkVersion', 16)
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 {
//noinspection GradleDynamicVersion
2018-09-06 02:44:27 -06:00
compileOnly "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
implementation 'com.yqritc:android-scalablevideoview:1.0.4'
2015-10-30 18:43:18 -06:00
}