diff --git a/example-projects/spring-boot/.gitignore b/example-projects/spring-boot/.gitignore index a5397cb41f..05e7e89e3a 100644 --- a/example-projects/spring-boot/.gitignore +++ b/example-projects/spring-boot/.gitignore @@ -1,4 +1,3 @@ -gradle .gradle/ *.ipr *.iws diff --git a/example-projects/spring-boot/README.md b/example-projects/spring-boot/README.md index 11f4256e46..8bb05adeeb 100644 --- a/example-projects/spring-boot/README.md +++ b/example-projects/spring-boot/README.md @@ -2,6 +2,6 @@ This project shows how to use JGiven with Spring Boot -1. Run `gradle build` +1. Run `./gradlew build` 2. Open `build/reports/jgiven/test/html/index.html` diff --git a/example-projects/spring-boot/build.gradle b/example-projects/spring-boot/build.gradle index 5749aaefac..82a95b2f3c 100644 --- a/example-projects/spring-boot/build.gradle +++ b/example-projects/spring-boot/build.gradle @@ -14,6 +14,11 @@ targetCompatibility = 1.8 version = '1.0' +wrapper { + gradleVersion = '6.0.1' + distributionType = Wrapper.DistributionType.ALL +} + repositories { mavenLocal() jcenter() diff --git a/example-projects/spring-boot/gradle/wrapper/gradle-wrapper.jar b/example-projects/spring-boot/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000000..cc4fdc293d Binary files /dev/null and b/example-projects/spring-boot/gradle/wrapper/gradle-wrapper.jar differ diff --git a/example-projects/spring-boot/gradle/wrapper/gradle-wrapper.properties b/example-projects/spring-boot/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000000..1ba7206f88 --- /dev/null +++ b/example-projects/spring-boot/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,5 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-6.0.1-all.zip +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists