Releases: gradle/android-cache-fix-gradle-plugin
Release 1.0.5
This release adds the newly released Android Gradle Plugin 4.0 as a supported version.
Release 1.0.4
This release fixes an issue where existing Room schemas could be deleted from the target directory. It also seeds the task-specific Room generated schema directory with the existing schemas from the target directory. This allows other annotation processors to continue to work that might use the room schema location argument to find existing schemas.
Release 1.0.3
This release has the following fixes:
- The Room schema location workaround is now usable when
kapt.use.worker.api=false
- We now check the Kotlin Gradle plugin version and only apply the Room schema location workaround for version 1.3.70 or higher
- We've removed some deprecations that were introduced with
RoomSchemaLocationMergeTask
- We fixed a potential configuration performance problem with the Room schema location workaround.
Release 1.0.2
This release adds support for AGP 3.6.3 and resolves some issues with RoomSchemaLocationWorkaround
. Specifically, it does the following:
- In 1.0.1,
RoomSchemaLocationWorkaround
relocated the generated schemas to a task-specific directory. This was done because we want to track these generated files as an output and writing them all to the same directory breaks caching. In 1.0.2, we still output to the relocated directory, but we now merge the generated schemas from all compile/kapt tasks into the user-specified directory. This allows the behavior to appear unchanged compared to not applying the plugin. - In 1.0.1, the kapt tasks would receive the room schema location as a relative path and the schema directory was not tracked as an output and cached. The kapt tasks now receive the location as an absolute path and that path is added as an output, so it will be included in the cache entry for these tasks.
- We now disable this workaround if
kapt.use.worker.api=false
is set as the workaround would break schema generation. We'll fix this in a future release.
Release 1.0.1
Fixes issue where MergeJavaResourceTask might be skipped if there are no inputs to the task (Issue #78).
Release 1.0.0
Updates the plugin to fix issues with Android 3.5.x, 3.6.x and 4.0.x. Specifically, it fixes the following:
- MergeJavaResourcesTask is not relocatable: https://issuetracker.google.com/issues/140602655
- MergeNativeLibsTask is not relocatable (only fixed for 3.6.x and 4.0.x): https://issuetracker.google.com/issues/140602655
- Room schema location annotation processor argument throws off cacheability: https://issuetracker.google.com/issues/132245929
Also drops fixes for older versions of Android.