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 {
|
2024-01-10 00:45:37 -07:00
|
|
|
buildToolsVersion = "34.0.0"
|
2024-03-07 08:00:00 -07:00
|
|
|
minSdkVersion = 23
|
2024-01-10 00:45:37 -07:00
|
|
|
compileSdkVersion = 34
|
|
|
|
targetSdkVersion = 34
|
2024-03-07 08:00:00 -07:00
|
|
|
ndkVersion = "26.1.10909125"
|
|
|
|
kotlinVersion = "1.9.22"
|
2022-12-17 08:35:37 -07:00
|
|
|
|
2024-04-16 06:23:19 -06:00
|
|
|
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
|
2024-06-25 05:20:12 -06:00
|
|
|
|
|
|
|
// uncomment this line to be able to build from media3 source code
|
|
|
|
// buildFromMedia3Source = true
|
2022-05-19 07:29:25 -06:00
|
|
|
}
|
2015-12-06 23:25:18 -07:00
|
|
|
repositories {
|
2019-06-19 01:37:21 -06:00
|
|
|
google()
|
2022-12-17 08:35:37 -07:00
|
|
|
mavenCentral()
|
2015-12-06 23:25:18 -07:00
|
|
|
}
|
|
|
|
dependencies {
|
2023-09-28 00:25:13 -06:00
|
|
|
classpath("com.android.tools.build:gradle")
|
2022-12-17 08:35:37 -07:00
|
|
|
classpath("com.facebook.react:react-native-gradle-plugin")
|
2024-01-10 00:45:37 -07:00
|
|
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
|
2015-12-06 23:25:18 -07:00
|
|
|
}
|
|
|
|
}
|
2024-01-10 00:45:37 -07:00
|
|
|
|
|
|
|
apply plugin: "com.facebook.react.rootproject"
|