a7d834a80a
* feat(android): allow to build from source code * fix(android): allow to build plugin from source
35 lines
1.1 KiB
Groovy
35 lines
1.1 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
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
|
|
}
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath("com.android.tools.build:gradle")
|
|
classpath("com.facebook.react:react-native-gradle-plugin")
|
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
|
|
}
|
|
}
|
|
|
|
apply plugin: "com.facebook.react.rootproject"
|