Talaiot
Talaiot copied to clipboard
`CommandLineWithOutputValue` breaks configuration cache
I have an empty project with configuration cache enabled. Configuration cache works while Gradle daemon is alive. But when I stop all Gradle daemons and restart task Gradle doesn't reuse configuration cache and prints next message:
Calculating task graph as configuration cache cannot be reused because a build logic input of type 'CommandLineWithOutputValue' has changed.
Simple workaround is just disabling some metrics that uses CommandLineWithOutputValue
.
talaiot {
metrics {
gitMetrics = false
processMetrics = false
}
}
Environment:
- macOs Sonoma 14.1
- Gradle 8.5 (same problem with latest Gradle 8.10.1)
- openjdk-22.0.2
- Talaiot 2.0.5