mirror of
https://github.com/austinried/subtracks.git
synced 2026-02-10 15:02:42 +01:00
pull in/rely on exoplayer locally
This commit is contained in:
@@ -220,6 +220,14 @@ dependencies {
|
||||
} else {
|
||||
implementation jscFlavor
|
||||
}
|
||||
|
||||
implementation(project(":react-native-track-player")) {
|
||||
exclude group:'com.google.android.exoplayer'
|
||||
}
|
||||
implementation project(':exoplayer-library-core')
|
||||
compileOnly project(':exoplayer-library-dash')
|
||||
compileOnly project(':exoplayer-library-hls')
|
||||
compileOnly project(':exoplayer-library-smoothstreaming')
|
||||
}
|
||||
|
||||
// Run this once to be able to run the application with BUCK
|
||||
|
||||
@@ -30,3 +30,7 @@ FLIPPER_VERSION=0.75.1
|
||||
# react-native-async-storage next
|
||||
AsyncStorage_useNextStorage=true
|
||||
AsyncStorage_kotlinVersion=1.4.21
|
||||
|
||||
# required to override exoplayer used by react-native-track-player, resolves "abstract method" error
|
||||
# see: https://github.com/google/ExoPlayer/issues/6801#issuecomment-574089568
|
||||
android.enableDexingArtifactTransform=false
|
||||
|
||||
@@ -7,3 +7,6 @@ include ':react-native-fs'
|
||||
project(':react-native-fs').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fs/android')
|
||||
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
|
||||
include ':app'
|
||||
gradle.ext.exoplayerRoot = '../submodules/ExoPlayer'
|
||||
gradle.ext.exoplayerModulePrefix = 'exoplayer-'
|
||||
apply from: file("$gradle.ext.exoplayerRoot/core_settings.gradle")
|
||||
|
||||
Reference in New Issue
Block a user