android-cache-fix-gradle-plugin icon indicating copy to clipboard operation
android-cache-fix-gradle-plugin copied to clipboard

Feature request: ability to suppress certain workarounds

Open ZacSweers opened this issue 3 years ago • 3 comments

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.

ZacSweers avatar Apr 18 '22 18:04 ZacSweers

This would also help workaround cases like this, since we could just disable that workaround if it's not needed anyway

ZacSweers avatar Apr 18 '22 18:04 ZacSweers

Same for me. I don't use Room.

vanniktech avatar Apr 18 '22 19:04 vanniktech

We think it would be best if this workaround were automatically disabled when not needed. If not we will take a look and see if this is possible to add a switch to disable.

runningcode avatar Apr 19 '22 15:04 runningcode

Released in https://github.com/gradle/android-cache-fix-gradle-plugin/releases/tag/v2.5.7

Please use the system property org.gradle.android.cache-fix.RoomSchemaLocationWorkaround.enabled=false

runningcode avatar Sep 19 '22 13:09 runningcode