Skip to content

Commit 9ae2448

Browse files
committed
Update Spring Boot-based samples to 2.1.3
Closes gh-586
1 parent ba48a72 commit 9ae2448

File tree

6 files changed

+12
-18
lines changed

6 files changed

+12
-18
lines changed

samples/junit5/build.gradle

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ buildscript {
33
mavenCentral()
44
}
55
dependencies {
6-
classpath 'org.springframework.boot:spring-boot-gradle-plugin:2.0.0.RELEASE'
6+
classpath 'org.springframework.boot:spring-boot-gradle-plugin:2.1.3.RELEASE'
77
classpath 'org.junit.platform:junit-platform-gradle-plugin:1.0.1'
88
}
99
}
@@ -31,22 +31,21 @@ targetCompatibility = 1.8
3131

3232
ext {
3333
snippetsDir = file('build/generated-snippets')
34-
junitJupiterVersion = '5.0.0'
3534
}
3635

3736
ext['spring-restdocs.version'] = '2.0.4.BUILD-SNAPSHOT'
3837

3938
dependencies {
40-
asciidoctor "org.springframework.restdocs:spring-restdocs-asciidoctor:${project.ext['spring-restdocs.version']}"
39+
asciidoctor 'org.springframework.restdocs:spring-restdocs-asciidoctor'
4140

4241
compile 'org.springframework.boot:spring-boot-starter-web'
4342

4443
testCompile('org.springframework.boot:spring-boot-starter-test') {
4544
exclude group: 'junit', module: 'junit;'
4645
}
4746
testCompile 'org.springframework.restdocs:spring-restdocs-mockmvc'
48-
testCompile "org.junit.jupiter:junit-jupiter-api:${junitJupiterVersion}"
49-
testRuntime "org.junit.jupiter:junit-jupiter-engine:${junitJupiterVersion}"
47+
testCompile 'org.junit.jupiter:junit-jupiter-api'
48+
testRuntime 'org.junit.jupiter:junit-jupiter-engine'
5049
}
5150

5251
test {

samples/rest-assured/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ buildscript {
33
mavenCentral()
44
}
55
dependencies {
6-
classpath 'org.springframework.boot:spring-boot-gradle-plugin:2.0.0.RELEASE'
6+
classpath 'org.springframework.boot:spring-boot-gradle-plugin:2.1.3.RELEASE'
77
}
88
}
99

@@ -34,11 +34,11 @@ ext {
3434
ext['spring-restdocs.version'] = '2.0.4.BUILD-SNAPSHOT'
3535

3636
dependencies {
37+
asciidoctor 'org.springframework.restdocs:spring-restdocs-asciidoctor'
3738
compile 'org.springframework.boot:spring-boot-starter-web'
3839
testCompile 'io.rest-assured:rest-assured:3.0.2'
3940
testCompile 'org.springframework.boot:spring-boot-starter-test'
4041
testCompile 'org.springframework.restdocs:spring-restdocs-restassured'
41-
asciidoctor "org.springframework.restdocs:spring-restdocs-asciidoctor:${project.ext['spring-restdocs.version']}"
4242
}
4343

4444
test {

samples/rest-notes-slate/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ buildscript {
33
mavenCentral()
44
}
55
dependencies {
6-
classpath 'org.springframework.boot:spring-boot-gradle-plugin:2.0.0.RELEASE'
6+
classpath 'org.springframework.boot:spring-boot-gradle-plugin:2.1.3.RELEASE'
77
}
88
}
99

samples/rest-notes-spring-data-rest/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<parent>
1212
<groupId>org.springframework.boot</groupId>
1313
<artifactId>spring-boot-starter-parent</artifactId>
14-
<version>2.0.0.RELEASE</version>
14+
<version>2.1.3.RELEASE</version>
1515
<relativePath />
1616
</parent>
1717

samples/rest-notes-spring-hateoas/build.gradle

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ buildscript {
33
mavenCentral()
44
}
55
dependencies {
6-
classpath 'org.springframework.boot:spring-boot-gradle-plugin:2.0.0.RELEASE'
6+
classpath 'org.springframework.boot:spring-boot-gradle-plugin:2.1.3.RELEASE'
77
}
88
}
99

@@ -34,14 +34,11 @@ ext {
3434
ext['spring-restdocs.version'] = '2.0.4.BUILD-SNAPSHOT'
3535

3636
dependencies {
37-
asciidoctor "org.springframework.restdocs:spring-restdocs-asciidoctor:${project.ext['spring-restdocs.version']}"
38-
37+
asciidoctor 'org.springframework.restdocs:spring-restdocs-asciidoctor'
3938
compile 'org.springframework.boot:spring-boot-starter-data-jpa'
4039
compile 'org.springframework.boot:spring-boot-starter-hateoas'
41-
4240
runtime 'com.h2database:h2'
4341
runtime 'org.atteo:evo-inflector:1.2.1'
44-
4542
testCompile 'com.jayway.jsonpath:json-path'
4643
testCompile 'org.assertj:assertj-core'
4744
testCompile 'org.springframework.boot:spring-boot-starter-test'

samples/testng/build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ buildscript {
33
mavenCentral()
44
}
55
dependencies {
6-
classpath 'org.springframework.boot:spring-boot-gradle-plugin:2.0.0.RELEASE'
6+
classpath 'org.springframework.boot:spring-boot-gradle-plugin:2.1.3.RELEASE'
77
}
88
}
99

@@ -34,10 +34,8 @@ ext {
3434
ext['spring-restdocs.version'] = '2.0.4.BUILD-SNAPSHOT'
3535

3636
dependencies {
37-
asciidoctor "org.springframework.restdocs:spring-restdocs-asciidoctor:${project.ext['spring-restdocs.version']}"
38-
37+
asciidoctor 'org.springframework.restdocs:spring-restdocs-asciidoctor'
3938
compile 'org.springframework.boot:spring-boot-starter-web'
40-
4139
testCompile('org.springframework.boot:spring-boot-starter-test') {
4240
exclude group: 'junit', module: 'junit;'
4341
}

0 commit comments

Comments
 (0)