useBuildCache

abstract var useBuildCache: Boolean

Uses the Gradle build cache feature for kapt tasks.

Set to false only when annotation processors used by this project are:

  • suspected of using other sources asides from the task inputs in their processing logic

  • not guaranteed to produce the same output on subsequent runs without input changes.

Default: true