This message was deleted.
# community-support
s
This message was deleted.
m
I think Gradle won't invalidate the configuration-cache when
gradle.properties
are changed.
I fixed the problem by using
Copy code
project.providers.gradleProperty("PROPERTY").forUseAtConfigurationTime()
v
Are you maybe on an old Gradle version? In recent versions all Gradle properties are automatically CC inputs, so it should just work. And
forUseAtConfigurationTime
is deprecated.
👍 2
m
But it didn't work when I directly get properties or SysEnv
v
You didn't answer my question
And if the answer will be "no", then can you please provide an MCVE that demonstrates the problem?
m
No I use Gradle 7.3.1