gradle / gradle

Adaptable, fast automation for all
https://gradle.org
Apache License 2.0
16.76k stars 4.69k forks source link

Configuration Cache report does not contain all inputs #19796

Open Vampire opened 2 years ago

Vampire commented 2 years ago

The configuration cache report in 7.4-rc-1 does not contain all inputs. For example gradle.properties and <GRADLE_USER_HOME>/gradle.properties are missing. If you change it, Gradle rightfully says Calculating task graph as configuration cache cannot be reused because file 'gradle.properties' has changed. or Calculating task graph as configuration cache cannot be reused because file '..\..\..\..\C:\Users\bkautler\.gradle\gradle.properties' has changed. but those files are not listed as inputs on the configuration cache report. There only gradle\libs.versions.toml is listed.

Also other files like build scripts are not listed which might be obvious, but they are still input, aren't they? Less obvious but also missing are other files like for example init scripts.

ov7a commented 9 months ago

Sorry for the late reply.

Thank you for providing a valid report.

The issue is in the backlog of the relevant team, but this area of Gradle is currently not a focus one, so it might take a while before a fix is made.