fix gradle in some java clients (#6339)

This commit is contained in:
William Cheng 2020-05-17 17:59:57 +08:00 committed by GitHub
parent a4e55ea7e5
commit c81359304d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 36 additions and 3 deletions

View File

@ -134,6 +134,10 @@ ext {
{{#threetenbp}}
threetenbp_version = "2.9.10"
{{/threetenbp}}
{{#hasOAuthMethods}}
scribejava_apis_version = "6.9.0"
{{/hasOAuthMethods}}
tomitribe_http_signatures_version = "1.3"
}
dependencies {
@ -152,6 +156,10 @@ dependencies {
{{#java8}}
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
{{/java8}}
{{#hasOAuthMethods}}
compile "com.github.scribejava:scribejava-apis:$scribejava_apis_version"
{{/hasOAuthMethods}}
compile "org.tomitribe:tomitribe-http-signatures:$tomitribe_http_signatures_version"
{{#supportJava6}}
compile "commons-io:commons-io:$commons_io_version"
compile "org.apache.commons:commons-lang3:$commons_lang3_version"

View File

@ -25,6 +25,10 @@ lazy val root = (project in file(".")).
{{#threetenbp}}
"com.github.joschi.jackson" % "jackson-datatype-threetenbp" % "2.9.10" % "compile",
{{/threetenbp}}
{{#hasOAuthMethods}}
"com.github.scribejava" % "scribejava-apis" % "6.9.0" % "compile",
{{/hasOAuthMethods}}
"org.tomitribe" % "tomitribe-http-signatures" % "1.3" % "compile",
{{^java8}}
"com.brsanthu" % "migbase64" % "2.2",
{{/java8}}

View File

@ -347,7 +347,7 @@
<dependency>
<groupId>com.github.scribejava</groupId>
<artifactId>scribejava-apis</artifactId>
<version>6.9.0</version>
<version>${scribejava-apis-version}</version>
</dependency>
{{/hasOAuthMethods}}
{{#useBeanValidation}}
@ -386,5 +386,8 @@
{{/threetenbp}}
<junit-version>4.13</junit-version>
<http-signature-version>1.3</http-signature-version>
{{#hasOAuthMethods}}
<scribejava-apis-version>6.9.0</scribejava-apis-version>
{{/hasOAuthMethods}}
</properties>
</project>

View File

@ -32,6 +32,7 @@ ext {
jackson_databind_version = "2.10.4"
vertx_version = "3.4.2"
junit_version = "4.13"
jackson_databind_nullable_version = "0.2.1"
}
dependencies {
@ -51,6 +52,7 @@ dependencies {
{{#threetenbp}}
compile "com.github.joschi.jackson:jackson-datatype-threetenbp:$jackson_version"
{{/threetenbp}}
compile "org.openapitools:jackson-databind-nullable:$jackson_databind_nullable_version"
testCompile "junit:junit:$junit_version"
testCompile "io.vertx:vertx-unit:$vertx_version"
}

View File

@ -101,6 +101,8 @@ ext {
jersey_version = "2.27"
junit_version = "4.13"
threetenbp_version = "2.9.10"
scribejava_apis_version = "6.9.0"
tomitribe_http_signatures_version = "1.3"
}
dependencies {
@ -113,6 +115,8 @@ dependencies {
compile "com.fasterxml.jackson.core:jackson-annotations:$jackson_version"
compile "com.fasterxml.jackson.core:jackson-databind:$jackson_databind_version"
compile "org.openapitools:jackson-databind-nullable:$jackson_databind_nullable_version"
compile "com.github.scribejava:scribejava-apis:$scribejava_apis_version"
compile "org.tomitribe:tomitribe-http-signatures:$tomitribe_http_signatures_version"
compile "com.github.joschi.jackson:jackson-datatype-threetenbp:$threetenbp_version"
compile "com.brsanthu:migbase64:2.2"
testCompile "junit:junit:$junit_version"

View File

@ -17,6 +17,8 @@ lazy val root = (project in file(".")).
"com.fasterxml.jackson.core" % "jackson-annotations" % "2.10.4" % "compile",
"com.fasterxml.jackson.core" % "jackson-databind" % "2.10.4" % "compile",
"com.github.joschi.jackson" % "jackson-datatype-threetenbp" % "2.9.10" % "compile",
"com.github.scribejava" % "scribejava-apis" % "6.9.0" % "compile",
"org.tomitribe" % "tomitribe-http-signatures" % "1.3" % "compile",
"com.brsanthu" % "migbase64" % "2.2",
"junit" % "junit" % "4.13" % "test",
"com.novocode" % "junit-interface" % "0.10" % "test"

View File

@ -287,7 +287,7 @@
<dependency>
<groupId>com.github.scribejava</groupId>
<artifactId>scribejava-apis</artifactId>
<version>6.9.0</version>
<version>${scribejava-apis-version}</version>
</dependency>
<!-- test dependencies -->
<dependency>
@ -307,5 +307,6 @@
<threetenbp-version>2.9.10</threetenbp-version>
<junit-version>4.13</junit-version>
<http-signature-version>1.3</http-signature-version>
<scribejava-apis-version>6.9.0</scribejava-apis-version>
</properties>
</project>

View File

@ -100,6 +100,8 @@ ext {
jackson_databind_nullable_version = "0.2.1"
jersey_version = "2.27"
junit_version = "4.13"
scribejava_apis_version = "6.9.0"
tomitribe_http_signatures_version = "1.3"
}
dependencies {
@ -113,6 +115,8 @@ dependencies {
compile "com.fasterxml.jackson.core:jackson-databind:$jackson_databind_version"
compile "org.openapitools:jackson-databind-nullable:$jackson_databind_nullable_version"
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
compile "com.github.scribejava:scribejava-apis:$scribejava_apis_version"
compile "org.tomitribe:tomitribe-http-signatures:$tomitribe_http_signatures_version"
testCompile "junit:junit:$junit_version"
}

View File

@ -17,6 +17,8 @@ lazy val root = (project in file(".")).
"com.fasterxml.jackson.core" % "jackson-annotations" % "2.10.4" % "compile",
"com.fasterxml.jackson.core" % "jackson-databind" % "2.10.4" % "compile",
"com.fasterxml.jackson.datatype" % "jackson-datatype-jsr310" % "2.9.10" % "compile",
"com.github.scribejava" % "scribejava-apis" % "6.9.0" % "compile",
"org.tomitribe" % "tomitribe-http-signatures" % "1.3" % "compile",
"junit" % "junit" % "4.13" % "test",
"com.novocode" % "junit-interface" % "0.10" % "test"
)

View File

@ -281,7 +281,7 @@
<dependency>
<groupId>com.github.scribejava</groupId>
<artifactId>scribejava-apis</artifactId>
<version>6.9.0</version>
<version>${scribejava-apis-version}</version>
</dependency>
<!-- test dependencies -->
<dependency>
@ -300,5 +300,6 @@
<jackson-databind-nullable-version>0.2.1</jackson-databind-nullable-version>
<junit-version>4.13</junit-version>
<http-signature-version>1.3</http-signature-version>
<scribejava-apis-version>6.9.0</scribejava-apis-version>
</properties>
</project>

View File

@ -32,6 +32,7 @@ ext {
jackson_databind_version = "2.10.4"
vertx_version = "3.4.2"
junit_version = "4.13"
jackson_databind_nullable_version = "0.2.1"
}
dependencies {
@ -43,6 +44,7 @@ dependencies {
compile "com.fasterxml.jackson.core:jackson-annotations:$jackson_version"
compile "com.fasterxml.jackson.core:jackson-databind:$jackson_databind_version"
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
compile "org.openapitools:jackson-databind-nullable:$jackson_databind_nullable_version"
testCompile "junit:junit:$junit_version"
testCompile "io.vertx:vertx-unit:$vertx_version"
}