Browse Source

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

pull/9675/merge
Andy Wilkinson 9 years ago
parent
commit
a2f791287f
  1. 2
      spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/testkit/GradleBuild.java

2
spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/testkit/GradleBuild.java

@ -156,7 +156,7 @@ public class GradleBuild implements TestRule { @@ -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);
}

Loading…
Cancel
Save