google / google/ExoPlayer

Support gradle composite builds for local checkouts

Open
#10,593 1 comment 0 reactions 1 assignee Claimed by @icbaker View on GitHub
enhancement
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

For local ExoPlayer checkouts, the current approach is to include the relevant projects directly. For example:
`apply from: file("path/to/exoplayer/core_settings.gradle")`
and then
`implementation project(':exoplayer-library-core')`

The downside of this approach is that it makes it tricky to swap between the prebuilt binary dependency and the local checkout.

A better solution would be to support composite builds. See https://docs.gradle.org/current/userguide/composite_builds.html

With this approach, the dependencies are automatically substituted as necessary. The syntax is:
`includeBuild "path/to/exoplayer"`

Gradle automatically substitutes prebuilt library dependencies with the local checkout projects.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.