When executing a build in a project with multiple variants, the second GoogleServicesTask doesn’t store its output in the cache because:
Overlapping outputs: Gradle does not know how the file 'build/gmpAppId.txt' was created (output property 'gmpAppId').
Task output caching requires exclusive access to output paths to guarantee correctness
(i.e., multiple tasks are not allowed to produce output in the same location).
When executing a build in a project with multiple variants, the second GoogleServicesTask doesn’t store its output in the cache because:
https://scans.gradle.com/s/2fcbiunstb676/timeline?details=jbbffnz6hvwhc&type=com.google.gms.googleservices.GoogleServicesTask
To Reproduce Steps to reproduce the behavior:
git clone git@github.com:android/nowinandroid.git
./gradlew assembleDebug --scan
GoogleServicesTask
> Open details second taskExpected behavior multiple tasks are not allowed to produce output in the same location
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context https://docs.gradle.org/current/userguide/build_cache_concepts.html#concepts_overlapping_outputs