This message was deleted.
# community-support
s
This message was deleted.
z
ideally, I’d like the
ValidateInputsTask
task to run first thing in the execution phase, rather that waiting for a long build and fail just before the
SyncTask
runs
v
Copy code
tasks.configureEach {
    shouldRunAfter(validateInputs)
}
👍 1
But regarding the "`get()` at configuration time" you didn't show any.
What you showed does a
get()
in
doFirst { ... }
which is execution phase
z
it’s technically executed in the execution phase, but Gradle does the following:
Copy code
Calculating task graph as configuration cache cannot be reused because a build logic input of type 'GitHashActualValueSource' has changed.
v
Well, not because of that
get()
, because that's at execution phase
z
oh, you are right!
(my bad)
didn’t isolate the fix for that, oops
v
But actually, you could still improve that place and use task configuration avoidance 🙂
👍 1