mirror of
https://github.com/austinried/subtracks.git
synced 2025-12-29 09:29:29 +01:00
pull in/rely on exoplayer locally
This commit is contained in:
parent
2097a9f7fd
commit
721a42f60f
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[submodule "submodules/ExoPlayer"]
|
||||||
|
path = submodules/ExoPlayer
|
||||||
|
url = https://github.com/google/ExoPlayer.git
|
||||||
@ -220,6 +220,14 @@ dependencies {
|
|||||||
} else {
|
} else {
|
||||||
implementation jscFlavor
|
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
|
// 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
|
# react-native-async-storage next
|
||||||
AsyncStorage_useNextStorage=true
|
AsyncStorage_useNextStorage=true
|
||||||
AsyncStorage_kotlinVersion=1.4.21
|
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')
|
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)
|
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
|
||||||
include ':app'
|
include ':app'
|
||||||
|
gradle.ext.exoplayerRoot = '../submodules/ExoPlayer'
|
||||||
|
gradle.ext.exoplayerModulePrefix = 'exoplayer-'
|
||||||
|
apply from: file("$gradle.ext.exoplayerRoot/core_settings.gradle")
|
||||||
|
|||||||
1
submodules/ExoPlayer
Submodule
1
submodules/ExoPlayer
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 7d3f54a375fac04a746ca76a8f2e1ad32c8b45b2
|
||||||
Loading…
x
Reference in New Issue
Block a user