Skip to content

Releases: gradle/android-cache-fix-gradle-plugin

Release 1.0.5

29 May 13:30
77fb146
Compare
Choose a tag to compare

This release adds the newly released Android Gradle Plugin 4.0 as a supported version.

Release 1.0.4

15 May 14:30
f9794d7
Compare
Choose a tag to compare

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

07 May 21:57
f9436ad
Compare
Choose a tag to compare

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

01 May 13:38
dfdd3fd
Compare
Choose a tag to compare

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

21 Apr 20:20
ab23543
Compare
Choose a tag to compare

Fixes issue where MergeJavaResourceTask might be skipped if there are no inputs to the task (Issue #78).

Release 1.0.0

17 Apr 17:30
d4e4644
Compare
Choose a tag to compare

Updates the plugin to fix issues with Android 3.5.x, 3.6.x and 4.0.x. Specifically, it fixes the following:

Also drops fixes for older versions of Android.

0.5.2

07 Aug 09:53
9a8f8de
Compare
Choose a tag to compare
  • Support Android 3.1.4

0.5.1

22 Jun 13:50
3762bd0
Compare
Choose a tag to compare
  • Do not force Android 3.0.0 dependency (#71)

0.5.0

22 Jun 07:13
f1b690f
Compare
Choose a tag to compare
  • Support Android 3.1.3
  • Warn with Android 3.2.0 that the plugin is not required anymore

0.4.3

27 Apr 14:11
6006b09
Compare
Choose a tag to compare
  • Support Android 3.1.2
  • Add tests for Gradle 4.7