deps: move exoplayer build into gradle/submodules

Move the ExoPlayer build process into gradle by leveraging some shell
scripting and submodule magic.

This more or less kills all windows compatibility, but that is fine.
Who even develops on windows?
This commit is contained in:
Alexander Capehart
2023-02-13 21:40:17 -07:00
parent 556c1cf43b
commit 399942e7e5
7 changed files with 15 additions and 150 deletions
+2 -6
View File
@@ -105,12 +105,8 @@ dependencies {
// Exoplayer
// WARNING: THE EXOPLAYER VERSION MUST BE KEPT IN LOCK-STEP WITH THE PRE-BUILD SCRIPT.
// IF NOT, VERY UNFRIENDLY BUILD FAILURES AND CRASHES MAY ENSUE.
implementation("com.google.android.exoplayer:exoplayer-core:2.18.2") {
exclude group: "com.google.android.exoplayer", module: "exoplayer-extractor"
}
implementation fileTree(dir: "libs", include: ["library-*.aar"])
implementation fileTree(dir: "libs", include: ["extension-*.aar"])
implementation project(":exoplayer-library-core")
implementation project(":exoplayer-extension-ffmpeg")
// Image loading
implementation "io.coil-kt:coil-base:2.2.0"