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

This commit is contained in:
Andy Wilkinson 2017-07-21 09:13:11 +01:00
parent 742153fc22
commit a2f791287f
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ public class GradleBuild implements TestRule {
FileCopyUtils.copy(scriptContent,
new FileWriter(new File(this.projectDir, "build.gradle")));
GradleRunner gradleRunner = GradleRunner.create().withProjectDir(this.projectDir)
.forwardOutput();
.withDebug(true);
if (this.gradleVersion != null) {
gradleRunner.withGradleVersion(this.gradleVersion);
}