Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit 0df34bb

Browse files
authored
Upgrade to Spring REST Docs 1.2.4 (#228)
1 parent 7cc57fb commit 0df34bb

File tree

5 files changed

+12
-10
lines changed

5 files changed

+12
-10
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ cache:
1313
- $HOME/.gradle/caches/
1414
- $HOME/.gradle/wrapper/
1515
before_install:
16-
- mvn install:install-file -Dfile=lib/spring-restdocs-core-1.2.3.RELEASE-test.jar
17-
-DgroupId=org.springframework.restdocs -DartifactId=spring-restdocs-core -Dversion=1.2.3.RELEASE
16+
- mvn install:install-file -Dfile=lib/spring-restdocs-core-1.2.4.RELEASE-test.jar
17+
-DgroupId=org.springframework.restdocs -DartifactId=spring-restdocs-core -Dversion=1.2.4.RELEASE
1818
-Dpackaging=jar -Dclassifier=test
1919
script:
2020
- mvn install -B -V
205 KB
Binary file not shown.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<java.version>1.7</java.version>
5757
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5858
<snippetsDirectory>${project.build.directory}/generated-snippets</snippetsDirectory>
59-
<spring-restdocs.version>1.2.3.RELEASE</spring-restdocs.version>
59+
<spring-restdocs.version>1.2.4.RELEASE</spring-restdocs.version>
6060
</properties>
6161

6262
<build>

spring-auto-restdocs-example/build.gradle

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
buildscript {
22
ext {
33
springBootVersion = "1.5.9.RELEASE"
4+
springAutoRestDocsVersion = "1.0.14-SNAPSHOT"
5+
springRestDocsVersion = "1.2.4.RELEASE"
46
}
57
repositories {
68
jcenter()
@@ -17,7 +19,7 @@ apply plugin: "org.springframework.boot"
1719
apply plugin: "org.asciidoctor.convert"
1820

1921
group = "capital.scalable"
20-
version = "1.0.13"
22+
version = "0.0.1-SNAPSHOT"
2123

2224
description = """Spring Auto REST Docs Example Project"""
2325

@@ -46,15 +48,15 @@ dependencies {
4648
compile "org.springframework.boot:spring-boot-starter-security"
4749
compile "org.springframework.security.oauth:spring-security-oauth2"
4850
compile "org.springframework.data:spring-data-commons"
49-
compile "capital.scalable:spring-auto-restdocs-core:$version"
51+
compile "capital.scalable:spring-auto-restdocs-core:$springAutoRestDocsVersion"
5052
testCompile("org.springframework.boot:spring-boot-starter-test") {
5153
exclude(module: "commons-logging")
5254
}
5355
testCompile "com.jayway.jsonpath:json-path-assert"
54-
testCompile "org.springframework.restdocs:spring-restdocs-core:1.2.3.RELEASE"
55-
testCompile "org.springframework.restdocs:spring-restdocs-mockmvc:1.2.3.RELEASE"
56+
testCompile "org.springframework.restdocs:spring-restdocs-core:$springRestDocsVersion"
57+
testCompile "org.springframework.restdocs:spring-restdocs-mockmvc:$springRestDocsVersion"
5658
compileOnly "org.projectlombok:lombok"
57-
jsondoclet "capital.scalable:spring-auto-restdocs-json-doclet:$version"
59+
jsondoclet "capital.scalable:spring-auto-restdocs-json-doclet:$springAutoRestDocsVersion"
5860
}
5961

6062
task jsonDoclet(type: Javadoc, dependsOn: compileJava) {

spring-auto-restdocs-example/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
<java.version>1.7</java.version>
3636
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3737
<start-class>capital.scalable.restdocs.example.Application</start-class>
38-
<spring-restdocs.version>1.2.3.RELEASE</spring-restdocs.version>
39-
<spring-auto-restdocs.version>1.0.13</spring-auto-restdocs.version>
38+
<spring-restdocs.version>1.2.4.RELEASE</spring-restdocs.version>
39+
<spring-auto-restdocs.version>1.0.14-SNAPSHOT</spring-auto-restdocs.version>
4040
</properties>
4141

4242
<dependencies>

0 commit comments

Comments
 (0)