0

Is there a way to make a task wait for a condition like for a file to exist?

Something like:

task checkDeployment() {
    waitFor new File("results.txt").exist();
    ...
}
JuanKB1024
  • 324
  • 1
  • 17

0 Answers0