Gradle 8.4+ build cache returns stale outputs when configuration cache is enabled
Stale task outputs with configuration cache active On Gradle 8.4 and later, enabling the configuration cache alongside the build cache appears to change which task input properties participate in the cache key. The documented behavior is that the configuration cache serializes the task graph once and reuses it, while the build cache keys task outputs on decl