Simplify Gradle support

Remove support for Gradle 2 and simplify script generation by only
supporting the recommended structure as of Gradle 3.4

Closes gh-778
This commit is contained in:
Stephane Nicoll
2018-11-28 13:56:49 +01:00
parent 9c5dfb34e9
commit c96991382a
21 changed files with 83 additions and 360 deletions

View File

@@ -95,9 +95,10 @@ public class ProjectGenerationSmokeTests
page.type("gradle-project");
page.submit();
assertSimpleProject().isGradleProject().gradleBuildAssert()
.contains("compile('org.springframework.boot:spring-boot-starter')")
.contains(
"testCompile('org.springframework.boot:spring-boot-starter-test')");
"implementation('org.springframework.boot:spring-boot-starter')")
.contains(
"testImplementation('org.springframework.boot:spring-boot-starter-test')");
}
@Test