Skip to content

Commit 19f47d0

Browse files
authored
[Java][okhttp-gson] Update dependencies (#3103)
* update java client depedency to the latest version * update java samples
1 parent 146c1fb commit 19f47d0

File tree

9 files changed

+30
-30
lines changed

9 files changed

+30
-30
lines changed

modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.gradle.mustache

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,15 @@ if(hasProperty('target') && target == 'android') {
126126
}
127127

128128
dependencies {
129-
compile 'io.swagger:swagger-annotations:1.5.21'
130-
compile 'com.squareup.okhttp3:okhttp:3.13.1'
131-
compile 'com.squareup.okhttp3:logging-interceptor:3.13.1'
129+
compile 'io.swagger:swagger-annotations:1.5.22'
130+
compile 'com.squareup.okhttp3:okhttp:3.14.2'
131+
compile 'com.squareup.okhttp3:logging-interceptor:3.14.2'
132132
compile 'com.google.code.gson:gson:2.8.5'
133133
compile 'io.gsonfire:gson-fire:1.8.3'
134134
{{#hasOAuthMethods}}
135135
compile group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.1'
136136
{{/hasOAuthMethods}}
137-
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.8.1'
137+
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
138138
{{#joda}}
139139
compile 'joda-time:joda-time:2.9.9'
140140
{{/joda}}

modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.sbt.mustache

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ lazy val root = (project in file(".")).
99
publishArtifact in (Compile, packageDoc) := false,
1010
resolvers += Resolver.mavenLocal,
1111
libraryDependencies ++= Seq(
12-
"io.swagger" % "swagger-annotations" % "1.5.21",
13-
"com.squareup.okhttp3" % "okhttp" % "3.13.1",
14-
"com.squareup.okhttp3" % "logging-interceptor" % "3.13.1",
12+
"io.swagger" % "swagger-annotations" % "1.5.22",
13+
"com.squareup.okhttp3" % "okhttp" % "3.14.2",
14+
"com.squareup.okhttp3" % "logging-interceptor" % "3.14.2",
1515
"com.google.code.gson" % "gson" % "2.8.5",
16-
"org.apache.commons" % "commons-lang3" % "3.8.1",
16+
"org.apache.commons" % "commons-lang3" % "3.9",
1717
{{#hasOAuthMethods}}
1818
"org.apache.oltu.oauth2" % "org.apache.oltu.oauth2.client" % "1.0.1",
1919
{{/hasOAuthMethods}}

modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/pom.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,9 @@
298298
<maven.compiler.target>${java.version}</maven.compiler.target>
299299
<gson-fire-version>1.8.3</gson-fire-version>
300300
<swagger-core-version>1.5.21</swagger-core-version>
301-
<okhttp-version>3.14.0</okhttp-version>
301+
<okhttp-version>3.14.2</okhttp-version>
302302
<gson-version>2.8.5</gson-version>
303-
<commons-lang3-version>3.8.1</commons-lang3-version>
303+
<commons-lang3-version>3.9</commons-lang3-version>
304304
{{#joda}}
305305
<jodatime-version>2.9.9</jodatime-version>
306306
{{/joda}}

samples/client/petstore/java/okhttp-gson-parcelableModel/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,13 @@ if(hasProperty('target') && target == 'android') {
9898
}
9999

100100
dependencies {
101-
compile 'io.swagger:swagger-annotations:1.5.21'
102-
compile 'com.squareup.okhttp3:okhttp:3.13.1'
103-
compile 'com.squareup.okhttp3:logging-interceptor:3.13.1'
101+
compile 'io.swagger:swagger-annotations:1.5.22'
102+
compile 'com.squareup.okhttp3:okhttp:3.14.2'
103+
compile 'com.squareup.okhttp3:logging-interceptor:3.14.2'
104104
compile 'com.google.code.gson:gson:2.8.5'
105105
compile 'io.gsonfire:gson-fire:1.8.3'
106106
compile group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.1'
107-
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.8.1'
107+
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
108108
compile 'org.threeten:threetenbp:1.3.5'
109109
testCompile 'junit:junit:4.12'
110110
}

samples/client/petstore/java/okhttp-gson-parcelableModel/build.sbt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ lazy val root = (project in file(".")).
99
publishArtifact in (Compile, packageDoc) := false,
1010
resolvers += Resolver.mavenLocal,
1111
libraryDependencies ++= Seq(
12-
"io.swagger" % "swagger-annotations" % "1.5.21",
13-
"com.squareup.okhttp3" % "okhttp" % "3.13.1",
14-
"com.squareup.okhttp3" % "logging-interceptor" % "3.13.1",
12+
"io.swagger" % "swagger-annotations" % "1.5.22",
13+
"com.squareup.okhttp3" % "okhttp" % "3.14.2",
14+
"com.squareup.okhttp3" % "logging-interceptor" % "3.14.2",
1515
"com.google.code.gson" % "gson" % "2.8.5",
16-
"org.apache.commons" % "commons-lang3" % "3.8.1",
16+
"org.apache.commons" % "commons-lang3" % "3.9",
1717
"org.apache.oltu.oauth2" % "org.apache.oltu.oauth2.client" % "1.0.1",
1818
"org.threeten" % "threetenbp" % "1.3.5" % "compile",
1919
"io.gsonfire" % "gson-fire" % "1.8.3" % "compile",

samples/client/petstore/java/okhttp-gson-parcelableModel/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,9 @@
256256
<maven.compiler.target>${java.version}</maven.compiler.target>
257257
<gson-fire-version>1.8.3</gson-fire-version>
258258
<swagger-core-version>1.5.21</swagger-core-version>
259-
<okhttp-version>3.14.0</okhttp-version>
259+
<okhttp-version>3.14.2</okhttp-version>
260260
<gson-version>2.8.5</gson-version>
261-
<commons-lang3-version>3.8.1</commons-lang3-version>
261+
<commons-lang3-version>3.9</commons-lang3-version>
262262
<threetenbp-version>1.3.8</threetenbp-version>
263263
<maven-plugin-version>1.0.0</maven-plugin-version>
264264
<junit-version>4.12</junit-version>

samples/client/petstore/java/okhttp-gson/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,13 @@ if(hasProperty('target') && target == 'android') {
9898
}
9999

100100
dependencies {
101-
compile 'io.swagger:swagger-annotations:1.5.21'
102-
compile 'com.squareup.okhttp3:okhttp:3.13.1'
103-
compile 'com.squareup.okhttp3:logging-interceptor:3.13.1'
101+
compile 'io.swagger:swagger-annotations:1.5.22'
102+
compile 'com.squareup.okhttp3:okhttp:3.14.2'
103+
compile 'com.squareup.okhttp3:logging-interceptor:3.14.2'
104104
compile 'com.google.code.gson:gson:2.8.5'
105105
compile 'io.gsonfire:gson-fire:1.8.3'
106106
compile group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.1'
107-
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.8.1'
107+
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
108108
compile 'org.threeten:threetenbp:1.3.5'
109109
testCompile 'junit:junit:4.12'
110110
}

samples/client/petstore/java/okhttp-gson/build.sbt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ lazy val root = (project in file(".")).
99
publishArtifact in (Compile, packageDoc) := false,
1010
resolvers += Resolver.mavenLocal,
1111
libraryDependencies ++= Seq(
12-
"io.swagger" % "swagger-annotations" % "1.5.21",
13-
"com.squareup.okhttp3" % "okhttp" % "3.13.1",
14-
"com.squareup.okhttp3" % "logging-interceptor" % "3.13.1",
12+
"io.swagger" % "swagger-annotations" % "1.5.22",
13+
"com.squareup.okhttp3" % "okhttp" % "3.14.2",
14+
"com.squareup.okhttp3" % "logging-interceptor" % "3.14.2",
1515
"com.google.code.gson" % "gson" % "2.8.5",
16-
"org.apache.commons" % "commons-lang3" % "3.8.1",
16+
"org.apache.commons" % "commons-lang3" % "3.9",
1717
"org.apache.oltu.oauth2" % "org.apache.oltu.oauth2.client" % "1.0.1",
1818
"org.threeten" % "threetenbp" % "1.3.5" % "compile",
1919
"io.gsonfire" % "gson-fire" % "1.8.3" % "compile",

samples/client/petstore/java/okhttp-gson/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,9 @@
249249
<maven.compiler.target>${java.version}</maven.compiler.target>
250250
<gson-fire-version>1.8.3</gson-fire-version>
251251
<swagger-core-version>1.5.21</swagger-core-version>
252-
<okhttp-version>3.14.0</okhttp-version>
252+
<okhttp-version>3.14.2</okhttp-version>
253253
<gson-version>2.8.5</gson-version>
254-
<commons-lang3-version>3.8.1</commons-lang3-version>
254+
<commons-lang3-version>3.9</commons-lang3-version>
255255
<threetenbp-version>1.3.8</threetenbp-version>
256256
<maven-plugin-version>1.0.0</maven-plugin-version>
257257
<junit-version>4.12</junit-version>

0 commit comments

Comments
 (0)