Commit 9685b845 authored by Andy Wilkinson's avatar Andy Wilkinson

Merge branch '1.5.x'

parents 5036fc50 ba8f7214
...@@ -34,8 +34,6 @@ import org.junit.runners.Parameterized.Parameters; ...@@ -34,8 +34,6 @@ import org.junit.runners.Parameterized.Parameters;
import org.springframework.boot.gradle.ProjectCreator; import org.springframework.boot.gradle.ProjectCreator;
import org.springframework.boot.gradle.Versions; import org.springframework.boot.gradle.Versions;
import static org.junit.Assert.fail;
/** /**
* Tests for the various starter projects to check that they don't pull in unwanted * Tests for the various starter projects to check that they don't pull in unwanted
* transitive dependencies when used with Gradle * transitive dependencies when used with Gradle
...@@ -109,11 +107,7 @@ public class StarterDependenciesIntegrationTests { ...@@ -109,11 +107,7 @@ public class StarterDependenciesIntegrationTests {
project.newBuild().forTasks(task).withArguments(this.buildArguments).run(); project.newBuild().forTasks(task).withArguments(this.buildArguments).run();
} }
catch (BuildException ex) { catch (BuildException ex) {
Throwable root = ex; throw new RuntimeException(ex);
while (root.getCause() != null) {
root = root.getCause();
}
fail(root.getMessage());
} }
} }
......
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