Skip to content

Configure Room with Gradle plugin - #1475

Merged
Maxr1998 merged 3 commits into
jellyfin:masterfrom
3flex:room-gradle-plugin
Jan 26, 2025
Merged

Configure Room with Gradle plugin#1475
Maxr1998 merged 3 commits into
jellyfin:masterfrom
3flex:room-gradle-plugin

Conversation

@3flex

@3flex 3flex commented Sep 1, 2024

Copy link
Copy Markdown
Contributor

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
Comment thread gradle/libs.versions.toml Outdated
@Maxr1998
Maxr1998 merged commit a0b1bdf into jellyfin:master Jan 26, 2025
@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