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();
...
}
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();
...
}