react-native-video/examples/basic/android/build.gradle

35 lines
1.1 KiB
Groovy
Raw Normal View History

2015-12-06 23:25:18 -07:00
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
2019-06-19 01:37:21 -06:00
ext {
buildToolsVersion = "34.0.0"
minSdkVersion = 23
compileSdkVersion = 34
targetSdkVersion = 34
ndkVersion = "26.1.10909125"
kotlinVersion = "1.9.22"
useExoplayerIMA = System.getenv("RNV_SAMPLE_ENABLE_ADS") ?: true
useExoplayerRtsp = true
// use the following to disable ExoPlayer modules - this will reduce the size of your app
// useExoplayerSmoothStreaming = false
// useExoplayerDash = false
// useExoplayerHls = false
// uncomment this line to be able to build from media3 source code
// buildFromMedia3Source = true
}
2015-12-06 23:25:18 -07:00
repositories {
2019-06-19 01:37:21 -06:00
google()
mavenCentral()
2015-12-06 23:25:18 -07:00
}
dependencies {
classpath("com.android.tools.build:gradle")
classpath("com.facebook.react:react-native-gradle-plugin")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
2015-12-06 23:25:18 -07:00
}
}
apply plugin: "com.facebook.react.rootproject"