Skip to content

Commit

Permalink
Bundle NextLib dependencies (#1467)
Browse files Browse the repository at this point in the history
  • Loading branch information
KingLucius authored Jan 4, 2025
1 parent cdfceed commit c499b31
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
3 changes: 1 addition & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,7 @@ dependencies {
^ Update to Latest Commits if Trailers Misbehave, github.com/TeamNewPipe/NewPipeExtractor/commits/dev */
implementation(libs.juniversalchardet) // Subtitle Decoding
// ffmpeg decoding
implementation(libs.nextlib.media3ext)
implementation(libs.nextlib.mediainfo)
implementation(libs.bundles.nextlibMedia3)

// Crash Reports (AcraApplication.kt)
implementation(libs.acra.core)
Expand Down
10 changes: 5 additions & 5 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ mediaFfmpeg = "1.1.0"
navigationFragmentKtx = "2.8.5"
navigationUiKtx = "2.8.5"
newpipeextractor = "v0.24.3"
nextlibMedia3ext = "0.8.4"
nextlibMediainfo = "0.8.4"
nextlibMedia3 = "0.8.4"
nicehttp = "0.4.11"
okhttp3Integration = "4.16.0"
overlappingpanels = "0.1.5"
Expand Down Expand Up @@ -99,8 +98,8 @@ media3-ui = { module = "androidx.media3:media3-ui", version.ref = "media3" }
navigation-fragment-ktx = { module = "androidx.navigation:navigation-fragment-ktx", version.ref = "navigationFragmentKtx" }
navigation-ui-ktx = { module = "androidx.navigation:navigation-ui-ktx", version.ref = "navigationUiKtx" }
newpipeextractor = { module = "com.github.teamnewpipe:NewPipeExtractor", version.ref = "newpipeextractor" }
nextlib-media3ext = { module = "com.github.anilbeesetti.nextlib:nextlib-media3ext", version.ref = "nextlibMedia3ext" }
nextlib-mediainfo = { module = "com.github.anilbeesetti.nextlib:nextlib-mediainfo", version.ref = "nextlibMediainfo" }
nextlib-media3ext = { module = "com.github.anilbeesetti.nextlib:nextlib-media3ext", version.ref = "nextlibMedia3" }
nextlib-mediainfo = { module = "com.github.anilbeesetti.nextlib:nextlib-mediainfo", version.ref = "nextlibMedia3" }
nicehttp = { module = "com.github.Blatzar:NiceHttp", version.ref = "nicehttp" }
okhttp3-integration = { module = "com.github.bumptech.glide:okhttp3-integration", version.ref = "okhttp3Integration" }
overlappingpanels = { module = "com.github.discord:OverlappingPanels", version.ref = "overlappingpanels" }
Expand All @@ -121,4 +120,5 @@ work-runtime-ktx = { module = "androidx.work:work-runtime-ktx", version.ref = "w
[plugins]

[bundles]
media3 = ["media3-cast", "media3-common", "media3-datasource-okhttp", "media3-exoplayer", "media3-exoplayer-dash", "media3-exoplayer-hls", "media3-session", "media3-ui"]
media3 = ["media3-cast", "media3-common", "media3-datasource-okhttp", "media3-exoplayer", "media3-exoplayer-dash", "media3-exoplayer-hls", "media3-session", "media3-ui"]
nextlibMedia3 = ["nextlib-media3ext", "nextlib-mediainfo"]

0 comments on commit c499b31

Please sign in to comment.