android-cache-fix-gradle-plugin
android-cache-fix-gradle-plugin copied to clipboard
Gradle plugin that fixes Android build caching problems.
KSP has [been stable for a while now](https://android-developers.googleblog.com/2021/09/accelerated-kotlin-build-times-with.html), and is supported by Room [since 2.3.0-beta02](https://developer.android.com/jetpack/androidx/releases/room#2.3.0-beta02). The schema generation behaviour is the same as the kapt version, so it suffers from...
Would y'all be open to a PR to allow disabling workarounds by name? Some, such as the Room schema workaround, aren't applicable in our project but run every time anyway.
We currently don't check whether we add any new deprecations with the nasty hacks we do to workaround caching problems. We should at least check and fail the test if...
Currently we only detect the room schema location being passed to `annotationProcessorOptions`, but not `kapt.arguments`. We should also detect the following: ``` kapt { arguments { arg("room.schemaLocation", "$projectDir/schemas") } }...
Once we updated the AGP version in the classpath to `7.3.1`, we still need to point to the latest stable version of the AGP. https://github.com/gradle/android-cache-fix-gradle-plugin/blob/main/build.gradle#L26 The new variant API is...
Most of the tests use a simple project where we configure the same scenario: * Default configuration ( apply false for our plugin) * Unique processor is applied in the...
We need to create a test for CI where we download the repo nowinandroid and inject the most recent version of the Android Cache Fix plugin. We would like to...
Currently, the test tasks are using different system properties between CI and local. This causes a difference in task inputs and ultimately causes remote build cache misses. This Build Scan...
In Android Cache Fix Gradle Plugin, we have a set of expected outcome files here: https://github.com/gradle/android-cache-fix-gradle-plugin/tree/main/src/test/resources/expectedOutcomes The file names match different versions of AGP. The result is that we have...