This message was deleted.
# configuration-cache
s
This message was deleted.
v
You can probably use
tasks.configureEach
to mark all tasks as configuration cache incompatible and then don't do it for tasks where you know it will work.
m
I could do that, I know, but I don't need to be that safe, and it would be a lot of work. Gradle already knows when there might be problems, I just want it to not fail but also not use the cache in that case. Basically to do the same as
notCompatibleWithConfigurationCache
on any detected problem.
v
What I said is the only way to achieve what you asked for that I'm aware of
thank you 1