Update Spring Boot-based samples to 2.1.3
Closes gh-586
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,11 +34,11 @@ ext {
|
||||
ext['spring-restdocs.version'] = '2.0.4.BUILD-SNAPSHOT'
|
||||
|
||||
dependencies {
|
||||
asciidoctor 'org.springframework.restdocs:spring-restdocs-asciidoctor'
|
||||
compile 'org.springframework.boot:spring-boot-starter-web'
|
||||
testCompile 'io.rest-assured:rest-assured:3.0.2'
|
||||
testCompile 'org.springframework.boot:spring-boot-starter-test'
|
||||
testCompile 'org.springframework.restdocs:spring-restdocs-restassured'
|
||||
asciidoctor "org.springframework.restdocs:spring-restdocs-asciidoctor:${project.ext['spring-restdocs.version']}"
|
||||
}
|
||||
|
||||
test {
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>2.0.0.RELEASE</version>
|
||||
<version>2.1.3.RELEASE</version>
|
||||
<relativePath />
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,14 +34,11 @@ ext {
|
||||
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-data-jpa'
|
||||
compile 'org.springframework.boot:spring-boot-starter-hateoas'
|
||||
|
||||
runtime 'com.h2database:h2'
|
||||
runtime 'org.atteo:evo-inflector:1.2.1'
|
||||
|
||||
testCompile 'com.jayway.jsonpath:json-path'
|
||||
testCompile 'org.assertj:assertj-core'
|
||||
testCompile 'org.springframework.boot:spring-boot-starter-test'
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,10 +34,8 @@ ext {
|
||||
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'
|
||||
|
||||
testCompile('org.springframework.boot:spring-boot-starter-test') {
|
||||
exclude group: 'junit', module: 'junit;'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user