Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 17fd865

Browse files
committed
Merge branch 'chore/2688/upgrade-dependencies'
resolves springfox#2688
2 parents 6d17fee + 10f7f49 commit 17fd865

16 files changed

Lines changed: 51 additions & 43 deletions

File tree

build.gradle

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ buildscript {
1212
classpath "com.github.adrianbk:gradle-travisci-trigger-plugin:1.0.0"
1313
classpath 'org.codehaus.groovy.modules.http-builder:http-builder:0.7.2'
1414
classpath 'com.github.ben-manes:gradle-versions-plugin:0.20.0'
15-
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.2"
16-
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.7.4"
17-
classpath "org.asciidoctor:asciidoctor-gradle-plugin:1.5.7"
15+
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4"
16+
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.7.5"
17+
classpath "org.asciidoctor:asciidoctor-gradle-plugin:1.5.8.1"
1818
classpath "org.ajoberstar:gradle-git:1.7.2"
19+
classpath 'org.ajoberstar:gradle-git-publish:1.0.1'
1920
}
2021
}
2122

@@ -90,7 +91,7 @@ subprojects {
9091
jacoco {
9192
toolVersion = "$jacocoVersion"
9293
}
93-
94+
9495
jacocoTestReport {
9596
reports {
9697
xml.enabled true
@@ -105,8 +106,8 @@ subprojects {
105106

106107
apply from: "$rootDir/gradle/documentation.gradle"
107108

108-
task wrapper(type: Wrapper) {
109-
gradleVersion = '4.4.1'
109+
wrapper {
110+
gradleVersion = '4.10.1'
110111
}
111112

112113
task codeCoverageReport(type: JacocoReport) {
@@ -120,7 +121,7 @@ task codeCoverageReport(type: JacocoReport) {
120121

121122
reports {
122123
xml.enabled true
123-
xml.destination "${buildDir}/reports/jacoco/report.xml"
124+
xml.destination file("${buildDir}/reports/jacoco/report.xml")
124125
html.enabled false
125126
csv.enabled false
126127
}

buildSrc/src/main/groovy/springfox/gradlebuild/plugins/MultiProjectReleasePlugin.groovy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,15 @@ class MultiProjectReleasePlugin implements Plugin<Project> {
6565
showPublishInfo = project.task('showPublishInfo') {
6666
group = 'Help'
6767
description = 'Show project publishing information'
68+
doLast {
69+
project.logger.lifecycle "[RELEASE] Project version: $project.version, $versioningInfo"
70+
}
6871
}
6972

7073
configureVersion(project, versioningInfo)
7174
configureGlobalTasks()
7275
configureSnapshotTaskGraph(project)
7376
configureReleaseTaskGraph(project)
74-
project.tasks.showPublishInfo << {
75-
project.logger.lifecycle "[RELEASE] Project version: $project.version, $versioningInfo"
76-
}
7777
}
7878

7979
def configureGlobalTasks() {

gradle/dependencies.gradle

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
ext {
22
aptIdeaVersion = 0.17
3-
byteBuddyVersion = "1.8.12"
4-
cglib = "3.2.6"
3+
byteBuddyVersion = "1.8.22"
4+
cglib = "3.2.8"
55
classmate = "1.4.0"
6-
equalsverifierVersion = '2.4.7'
6+
classGraph = "4.1.7"
7+
equalsverifierVersion = '2.5.2'
78
groovy = "2.5.0"
89
jacocoVersion = '0.8.1'
910
jackson = '2.9.6'
1011
joda = "2.10"
1112
jsonPath = "2.4.0"
1213
jsonAssert = "1.5.0"
1314
mapstruct = "1.2.0.Final"
14-
mockito = "2.15.0"
15+
mockito = "2.22.0"
1516
objenesis = "2.6"
16-
classGraph = "4.0.3"
1717
servlet = "3.1.0"
1818
slf4j = "1.7.25"
19-
snakeyaml = '1.21'
19+
snakeyaml = '1.23'
2020
spock = "1.1-groovy-2.4"
21-
spring = "5.0.7.RELEASE"
21+
spring = "5.0.9.RELEASE"
2222
springHateoas = "0.24.0.RELEASE"
23-
springDataRest = "3.0.8.RELEASE"
23+
springDataRest = "3.0.10.RELEASE"
2424
springPluginVersion = "1.2.0.RELEASE"
2525
swagger2Core = "1.5.20"
26-
springBoot = "2.0.3.RELEASE"
26+
springBoot = "2.0.5.RELEASE"
2727
springfoxRfc6570Version = "1.0.0"
2828
undercouch = "3.4.3"
2929
validationApiVersion = '2.0.1.Final'

gradle/documentation.gradle

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ import springfox.gradlebuild.BuildInfo
22
import springfox.gradlebuild.utils.ProjectDefinitions
33

44
apply plugin: "org.asciidoctor.convert"
5-
apply plugin: 'org.ajoberstar.github-pages'
5+
apply plugin: 'org.ajoberstar.git-publish'
66

7-
githubPages {
8-
deleteExistingFiles = false
9-
pages {
7+
gitPublish {
8+
preserve {
9+
include '**/*'
10+
}
11+
contents {
1012
from "${buildDir}/all-docs"
1113
}
1214
}
@@ -45,7 +47,7 @@ task allDocs {
4547
}
4648

4749
task publishDocs {
48-
dependsOn publishGhPages
50+
dependsOn gitPublishPush
4951
}
5052

5153
task createReleaseDocs(type: Exec, dependsOn: allDocs) {
@@ -84,4 +86,4 @@ task releaseDocs {
8486
dependsOn createReleaseDocs, publishDocs
8587
}
8688

87-
publishGhPages.dependsOn allDocs
89+
gitPublishPush.dependsOn allDocs

gradle/wrapper/gradle-wrapper.jar

-4 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
rootProject.name = 'springfox'
2+
enableFeaturePreview('STABLE_PUBLISHING')
23
include 'springfox-core'
34
include 'springfox-spi'
45
include 'springfox-schema'

springfox-swagger-ui/src/web/package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

springfox-swagger-ui/src/web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"repository": "https://github.com/springfox/springfox.git",
1717
"dependencies": {},
1818
"devDependencies": {
19-
"babel-core": "^6.26.0",
19+
"babel-core": "^6.26.3",
2020
"babel-loader": "^7.1.4",
2121
"babel-polyfill": "^6.26.0",
2222
"babel-preset-env": "^1.6.1",

springfox-swagger1/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id "net.ltgt.apt-idea" version "0.17"
2+
id "net.ltgt.apt-idea" version "0.18"
33
}
44

55
ext {
@@ -25,7 +25,7 @@ sourceSets {
2525

2626
// Define integration test task
2727
task integrationTest(type: Test) {
28-
testClassesDir = sourceSets.integrationTest.output.classesDir
28+
testClassesDirs = sourceSets.integrationTest.output.classesDirs
2929
classpath = sourceSets.integrationTest.runtimeClasspath
3030
}
3131

0 commit comments

Comments
 (0)