mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-11 05:32:46 +00:00
[Java][Rest-assured] Update dependencies for rest-assured client (#2599)
* Update dependencies for rest-assured client * Return okio_version in build.gradle.mustache
This commit is contained in:
committed by
William Cheng
parent
42a9368d91
commit
b444456ec8
@@ -248,7 +248,7 @@ CONFIG OPTIONS
|
|||||||
retrofit - HTTP client: OkHttp 2.4.0. JSON processing: Gson 2.3.1 (Retrofit 1.9.0)
|
retrofit - HTTP client: OkHttp 2.4.0. JSON processing: Gson 2.3.1 (Retrofit 1.9.0)
|
||||||
retrofit2 - HTTP client: OkHttp 2.5.0. JSON processing: Gson 2.4 (Retrofit 2.0.0-beta2)
|
retrofit2 - HTTP client: OkHttp 2.5.0. JSON processing: Gson 2.4 (Retrofit 2.0.0-beta2)
|
||||||
google-api-client - HTTP client: google-api-client 1.23.0. JSON processing: Jackson 2.8.9
|
google-api-client - HTTP client: google-api-client 1.23.0. JSON processing: Jackson 2.8.9
|
||||||
rest-assured - HTTP client: rest-assured : 3.1.0. JSON processing: Gson 2.6.1. Only for Java8
|
rest-assured - HTTP client: rest-assured : 3.3.0. JSON processing: Gson 2.8.5. Only for Java8
|
||||||
```
|
```
|
||||||
|
|
||||||
Your config file for Java can look like
|
Your config file for Java can look like
|
||||||
|
|||||||
@@ -96,15 +96,15 @@ if(hasProperty('target') && target == 'android') {
|
|||||||
|
|
||||||
ext {
|
ext {
|
||||||
swagger_annotations_version = "1.5.21"
|
swagger_annotations_version = "1.5.21"
|
||||||
rest_assured_version = "3.1.0"
|
rest_assured_version = "3.3.0"
|
||||||
junit_version = "4.12"
|
junit_version = "4.12"
|
||||||
gson_version = "2.6.1"
|
gson_version = "2.8.5"
|
||||||
gson_fire_version = "1.8.2"
|
gson_fire_version = "1.8.3"
|
||||||
{{#joda}}
|
{{#joda}}
|
||||||
jodatime_version = "2.9.9"
|
jodatime_version = "2.9.9"
|
||||||
{{/joda}}
|
{{/joda}}
|
||||||
{{#threetenbp}}
|
{{#threetenbp}}
|
||||||
threetenbp_version = "1.3.5"
|
threetenbp_version = "1.3.8"
|
||||||
{{/threetenbp}}
|
{{/threetenbp}}
|
||||||
okio_version = "1.13.0"
|
okio_version = "1.13.0"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,14 +10,14 @@ lazy val root = (project in file(".")).
|
|||||||
resolvers += Resolver.mavenLocal,
|
resolvers += Resolver.mavenLocal,
|
||||||
libraryDependencies ++= Seq(
|
libraryDependencies ++= Seq(
|
||||||
"io.swagger" % "swagger-annotations" % "1.5.21",
|
"io.swagger" % "swagger-annotations" % "1.5.21",
|
||||||
"io.rest-assured" % "scala-support" % "3.1.0",
|
"io.rest-assured" % "scala-support" % "3.3.0",
|
||||||
"com.google.code.gson" % "gson" % "2.6.1",
|
"com.google.code.gson" % "gson" % "2.8.5",
|
||||||
"io.gsonfire" % "gson-fire" % "1.8.2" % "compile",
|
"io.gsonfire" % "gson-fire" % "1.8.3" % "compile",
|
||||||
{{#joda}}
|
{{#joda}}
|
||||||
"joda-time" % "joda-time" % "2.9.9" % "compile",
|
"joda-time" % "joda-time" % "2.9.9" % "compile",
|
||||||
{{/joda}}
|
{{/joda}}
|
||||||
{{#threetenbp}}
|
{{#threetenbp}}
|
||||||
"org.threeten" % "threetenbp" % "1.3.5" % "compile",
|
"org.threeten" % "threetenbp" % "1.3.8" % "compile",
|
||||||
{{/threetenbp}}
|
{{/threetenbp}}
|
||||||
"com.squareup.okio" % "okio" % "1.13.0" % "compile",
|
"com.squareup.okio" % "okio" % "1.13.0" % "compile",
|
||||||
"junit" % "junit" % "4.12" % "test",
|
"junit" % "junit" % "4.12" % "test",
|
||||||
|
|||||||
@@ -251,15 +251,15 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<swagger-annotations-version>1.5.21</swagger-annotations-version>
|
<swagger-annotations-version>1.5.21</swagger-annotations-version>
|
||||||
<rest-assured.version>3.1.0</rest-assured.version>
|
<rest-assured.version>3.3.0</rest-assured.version>
|
||||||
<gson-version>2.6.1</gson-version>
|
<gson-version>2.8.5</gson-version>
|
||||||
<gson-fire-version>1.8.2</gson-fire-version>
|
<gson-fire-version>1.8.3</gson-fire-version>
|
||||||
<maven-plugin-version>1.0.0</maven-plugin-version>
|
<maven-plugin-version>1.0.0</maven-plugin-version>
|
||||||
{{#joda}}
|
{{#joda}}
|
||||||
<jodatime-version>2.9.9</jodatime-version>
|
<jodatime-version>2.9.9</jodatime-version>
|
||||||
{{/joda}}
|
{{/joda}}
|
||||||
{{#threetenbp}}
|
{{#threetenbp}}
|
||||||
<threetenbp-version>1.3.5</threetenbp-version>
|
<threetenbp-version>1.3.8</threetenbp-version>
|
||||||
{{/threetenbp}}
|
{{/threetenbp}}
|
||||||
<okio-version>1.13.0</okio-version>
|
<okio-version>1.13.0</okio-version>
|
||||||
<junit-version>4.12</junit-version>
|
<junit-version>4.12</junit-version>
|
||||||
|
|||||||
@@ -96,11 +96,11 @@ if(hasProperty('target') && target == 'android') {
|
|||||||
|
|
||||||
ext {
|
ext {
|
||||||
swagger_annotations_version = "1.5.21"
|
swagger_annotations_version = "1.5.21"
|
||||||
rest_assured_version = "3.1.0"
|
rest_assured_version = "3.3.0"
|
||||||
junit_version = "4.12"
|
junit_version = "4.12"
|
||||||
gson_version = "2.6.1"
|
gson_version = "2.8.5"
|
||||||
gson_fire_version = "1.8.2"
|
gson_fire_version = "1.8.3"
|
||||||
threetenbp_version = "1.3.5"
|
threetenbp_version = "1.3.8"
|
||||||
okio_version = "1.13.0"
|
okio_version = "1.13.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -10,10 +10,10 @@ lazy val root = (project in file(".")).
|
|||||||
resolvers += Resolver.mavenLocal,
|
resolvers += Resolver.mavenLocal,
|
||||||
libraryDependencies ++= Seq(
|
libraryDependencies ++= Seq(
|
||||||
"io.swagger" % "swagger-annotations" % "1.5.21",
|
"io.swagger" % "swagger-annotations" % "1.5.21",
|
||||||
"io.rest-assured" % "scala-support" % "3.1.0",
|
"io.rest-assured" % "scala-support" % "3.3.0",
|
||||||
"com.google.code.gson" % "gson" % "2.6.1",
|
"com.google.code.gson" % "gson" % "2.8.5",
|
||||||
"io.gsonfire" % "gson-fire" % "1.8.2" % "compile",
|
"io.gsonfire" % "gson-fire" % "1.8.3" % "compile",
|
||||||
"org.threeten" % "threetenbp" % "1.3.5" % "compile",
|
"org.threeten" % "threetenbp" % "1.3.8" % "compile",
|
||||||
"com.squareup.okio" % "okio" % "1.13.0" % "compile",
|
"com.squareup.okio" % "okio" % "1.13.0" % "compile",
|
||||||
"junit" % "junit" % "4.12" % "test",
|
"junit" % "junit" % "4.12" % "test",
|
||||||
"com.novocode" % "junit-interface" % "0.10" % "test"
|
"com.novocode" % "junit-interface" % "0.10" % "test"
|
||||||
|
|||||||
@@ -235,11 +235,11 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<swagger-annotations-version>1.5.21</swagger-annotations-version>
|
<swagger-annotations-version>1.5.21</swagger-annotations-version>
|
||||||
<rest-assured.version>3.1.0</rest-assured.version>
|
<rest-assured.version>3.3.0</rest-assured.version>
|
||||||
<gson-version>2.6.1</gson-version>
|
<gson-version>2.8.5</gson-version>
|
||||||
<gson-fire-version>1.8.2</gson-fire-version>
|
<gson-fire-version>1.8.3</gson-fire-version>
|
||||||
<maven-plugin-version>1.0.0</maven-plugin-version>
|
<maven-plugin-version>1.0.0</maven-plugin-version>
|
||||||
<threetenbp-version>1.3.5</threetenbp-version>
|
<threetenbp-version>1.3.8</threetenbp-version>
|
||||||
<okio-version>1.13.0</okio-version>
|
<okio-version>1.13.0</okio-version>
|
||||||
<junit-version>4.12</junit-version>
|
<junit-version>4.12</junit-version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|||||||
Reference in New Issue
Block a user