Update Spring Boot-based samples to 2.1.3

Closes gh-586
This commit is contained in:
Andy Wilkinson
2019-02-21 10:10:09 +00:00
parent ba48a7270a
commit 9ae2448790
6 changed files with 12 additions and 18 deletions

View File

@@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'org.springframework.boot:spring-boot-gradle-plugin:2.0.0.RELEASE'
classpath 'org.springframework.boot:spring-boot-gradle-plugin:2.1.3.RELEASE'
classpath 'org.junit.platform:junit-platform-gradle-plugin:1.0.1'
}
}
@@ -31,13 +31,12 @@ targetCompatibility = 1.8
ext {
snippetsDir = file('build/generated-snippets')
junitJupiterVersion = '5.0.0'
}
ext['spring-restdocs.version'] = '2.0.4.BUILD-SNAPSHOT'
dependencies {
asciidoctor "org.springframework.restdocs:spring-restdocs-asciidoctor:${project.ext['spring-restdocs.version']}"
asciidoctor 'org.springframework.restdocs:spring-restdocs-asciidoctor'
compile 'org.springframework.boot:spring-boot-starter-web'
@@ -45,8 +44,8 @@ dependencies {
exclude group: 'junit', module: 'junit;'
}
testCompile 'org.springframework.restdocs:spring-restdocs-mockmvc'
testCompile "org.junit.jupiter:junit-jupiter-api:${junitJupiterVersion}"
testRuntime "org.junit.jupiter:junit-jupiter-engine:${junitJupiterVersion}"
testCompile 'org.junit.jupiter:junit-jupiter-api'
testRuntime 'org.junit.jupiter:junit-jupiter-engine'
}
test {