Disable IC when IC cache is missing

Check task build directory for any files
This commit is contained in:
Sergey Igushkin
2017-11-20 17:38:50 +03:00
parent 14c80baec8
commit 4a69d1545b
2 changed files with 17 additions and 5 deletions
@@ -454,6 +454,9 @@ abstract class BaseGradleIT {
System.getProperty("maven.repo.local")?.let {
add("-Dmaven.repo.local=$it") // TODO: proper escaping
}
if (options.withBuildCache) {
add("--build-cache")
}
addAll(options.freeCommandLineArgs)
}