fix: gradle configuration cache issues#11132
Conversation
|
✅ Validation Passed: All report and feature-flag labels are correctly set. |
df320d5 to
e6f64d0
Compare
e6f64d0 to
bc481b9
Compare
7c5e428 to
56eed9d
Compare
…ectDirectory` to avoid configuration cache invalidation
…e global definition
56eed9d to
b363a1e
Compare
b363a1e to
eb1edb1
Compare
|
I was looking at this a little bit to see how it would affect the mokkery removal PR. Obviously build fails for that reason here, but it is successful on that branch. I'm not sure if it should be merged separately if this breaks, but the build and tests work. A quick skim of it looks good, but I can go into more detail in that review. Would we want to make sure we merge this and the mokkery removal PR at the same time? |
|
This should fail with violations caused by mokkery when the following is enabled: It should not fail when they are disabled: But as I fixed mokkery now, that branch could be merged and will include these changes too. It just won't create a merge commit then. |
Contribution Summary
Resolves #11133
Linked Issue/Ticket: #10392
Description
While exploring Gradle Isolated Projects as alternative solution for #10392, I found that our project configuration has Gradle Configuration Cache issues:
As Android Studio Quail 1 partially depends on Isolated Projects, I fixed most of the findings. See also: Known Issues
Remaining is our mokkery dependency with 4 findings:
I won't tackle these for now as the current state is enough to continue investigation.
To test these changes add this to
gradle.properties:AI Disclosure
Select one of the following (mandatory)
Contribution Checklist
gradlew spotlessCheckto check andgradlew spotlessApplyto format your source code; will be checked by CI).gradlew testDebugUnitTest; will be checked by CI).