Skip to content

Release 1.0.2

Choose a tag to compare

@ghale ghale released this 01 May 13:38
dfdd3fd

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.