Commit a2f79128 authored by Andy Wilkinson's avatar Andy Wilkinson

Disable the use of Gradle's daemon when running compatility tests

parent 742153fc
...@@ -156,7 +156,7 @@ public class GradleBuild implements TestRule { ...@@ -156,7 +156,7 @@ public class GradleBuild implements TestRule {
FileCopyUtils.copy(scriptContent, FileCopyUtils.copy(scriptContent,
new FileWriter(new File(this.projectDir, "build.gradle"))); new FileWriter(new File(this.projectDir, "build.gradle")));
GradleRunner gradleRunner = GradleRunner.create().withProjectDir(this.projectDir) GradleRunner gradleRunner = GradleRunner.create().withProjectDir(this.projectDir)
.forwardOutput(); .withDebug(true);
if (this.gradleVersion != null) { if (this.gradleVersion != null) {
gradleRunner.withGradleVersion(this.gradleVersion); gradleRunner.withGradleVersion(this.gradleVersion);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment