Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure Room with Gradle plugin #1475

Merged
merged 3 commits into from
Jan 26, 2025
Merged

Conversation

3flex
Copy link
Contributor

@3flex 3flex commented Sep 1, 2024

Changes
Migrate to the Room Gradle plugin introduced in Room 2.6.0.

The plugin configures the project such that generated schemas (which are
an output of the compile tasks and are consumed for auto-migrations) are
correctly configured to have reproducible and cacheable builds.

https://developer.android.com/jetpack/androidx/releases/room#gradle-plugin

Running Gradle tasks such as assembleDebug twice in a row now leads to tasks in the second run being up to date, allowing incremental compilation to work correctly.

Issues

@jellyfin-bot jellyfin-bot added this to the v2.7.0 milestone Sep 1, 2024
> The plugin configures the project such that generated schemas (which are
> an output of the compile tasks and are consumed for auto-migrations) are
> correctly configured to have reproducible and cacheable builds.

https://developer.android.com/jetpack/androidx/releases/room#gradle-plugin
@3flex 3flex force-pushed the room-gradle-plugin branch from fe3eca0 to 93a80e6 Compare September 1, 2024 12:32
@Maxr1998 Maxr1998 self-requested a review September 1, 2024 13:47
@3flex 3flex changed the title Migrate to Room Gradle plugin Configure Room with Gradle plugin Sep 1, 2024
@Maxr1998 Maxr1998 merged commit a0b1bdf into jellyfin:master Jan 26, 2025
6 of 7 checks passed
@3flex 3flex deleted the room-gradle-plugin branch January 26, 2025 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants