jellyfin / jellyfin-android

Android Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
1.58k stars 252 forks source link

Configure Room with Gradle plugin #1475

Open 3flex opened 2 months ago

3flex commented 2 months ago

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