-
Notifications
You must be signed in to change notification settings - Fork 156
Open
Description
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).
To Reproduce
Steps to reproduce the behavior:
- Download repo
git clone git@github.com:android/nowinandroid.git - Execute
./gradlew assembleDebug --scan - Open Build Scan > TimeLine > Filter type
GoogleServicesTask> Open details second task - Second task shows overlapping outputs
Expected 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):
- Gradle version: 8.10
- Plugin name and version: com.google.android.gms.oss-licenses-plugin 0.16.1 - com.google.gms.google-services 4.4.1
Additional context
https://docs.gradle.org/current/userguide/build_cache_concepts.html#concepts_overlapping_outputs
Metadata
Metadata
Assignees
Labels
No labels