Update Google SDK to version 1.23 (#27381)

This commit updates the google-api-client library to version 1.23.0.

Related to #26636
This commit is contained in:
Tanguy Leroux 2017-11-15 15:30:27 +01:00 committed by GitHub
parent 7b71cdd34e
commit 50a2459adf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
23 changed files with 21 additions and 16 deletions

View File

@ -6,11 +6,11 @@ esplugin {
}
versions << [
'google': '1.20.0'
'google': '1.23.0'
]
dependencies {
compile "com.google.apis:google-api-services-compute:v1-rev71-${versions.google}"
compile "com.google.apis:google-api-services-compute:v1-rev160-${versions.google}"
compile "com.google.api-client:google-api-client:${versions.google}"
compile "com.google.oauth-client:google-oauth-client:${versions.google}"
compile "com.google.http-client:google-http-client:${versions.google}"

View File

@ -1 +0,0 @@
d3e66209ae9e749b2d6833761e7885f60f285564

View File

@ -0,0 +1 @@
522ea860eb48dee71dfe2c61a1fd09663539f556

View File

@ -0,0 +1 @@
004169bfe1cf0e8b2013c9c479e43b731958bc64

View File

@ -1 +0,0 @@
2fa36fff3b5bf59a63c4f2bbfac1f88251cd7986

View File

@ -1 +0,0 @@
93d82db2bca534960253f43424b2ba9d7638b4d2

View File

@ -0,0 +1 @@
8e86c84ff3c98eca6423e97780325b299133d858

View File

@ -1 +0,0 @@
2408070b2abec043624d35b35e30450f1b663858

View File

@ -0,0 +1 @@
fd6761f4046a8cb0455e6fa5f58e12b061e9826e

View File

@ -1 +0,0 @@
1d086ac5756475ddf451af2e2df6e288d18608ca

View File

@ -0,0 +1 @@
e57ea1e2220bda5a2bd24ff17860212861f3c5cf

View File

@ -23,11 +23,11 @@ esplugin {
}
versions << [
'google': '1.21.0',
'google': '1.23.0',
]
dependencies {
compile "com.google.apis:google-api-services-storage:v1-rev66-${versions.google}"
compile "com.google.apis:google-api-services-storage:v1-rev115-${versions.google}"
compile "com.google.api-client:google-api-client:${versions.google}"
compile "com.google.oauth-client:google-oauth-client:${versions.google}"
compile "org.apache.httpcomponents:httpclient:${versions.httpclient}"

View File

@ -1 +0,0 @@
16a6b3c680f3bf7b81bb42790ff5c1b72c5bbedc

View File

@ -0,0 +1 @@
522ea860eb48dee71dfe2c61a1fd09663539f556

View File

@ -0,0 +1 @@
ba4fb6c5dc8d5ad94dedd9927ceee10a31a59abd

View File

@ -1 +0,0 @@
eb753d716e4f8dec203deb0f8fdca86913a79029

View File

@ -1 +0,0 @@
42631630fe1276d4d6d6397bb07d53a4e4fec278

View File

@ -0,0 +1 @@
8e86c84ff3c98eca6423e97780325b299133d858

View File

@ -1 +0,0 @@
8ce17bdd15fff0fd8cf359757f29e778fc7191ad

View File

@ -0,0 +1 @@
fd6761f4046a8cb0455e6fa5f58e12b061e9826e

View File

@ -1 +0,0 @@
61ec42bbfc51aafde5eb8b4923c602c5b5965bc2

View File

@ -0,0 +1 @@
e57ea1e2220bda5a2bd24ff17860212861f3c5cf

View File

@ -271,7 +271,7 @@ public class MockHttpTransport extends com.google.api.client.testing.http.MockHt
// content-id: 1
// content-transfer-encoding: binary
//
// DELETE https://www.googleapis.com/storage/v1/b/ohifkgu/o/foo%2Ftest
// DELETE https://www.googleapis.com/storage/v1/b/ohifkgu/o/foo%2Ftest HTTP/1.1
//
//
// --__END_OF_PART__
@ -280,7 +280,7 @@ public class MockHttpTransport extends com.google.api.client.testing.http.MockHt
// content-id: 2
// content-transfer-encoding: binary
//
// DELETE https://www.googleapis.com/storage/v1/b/ohifkgu/o/bar%2Ftest
// DELETE https://www.googleapis.com/storage/v1/b/ohifkgu/o/bar%2Ftest HTTP/1.1
//
//
// --__END_OF_PART__--
@ -291,6 +291,11 @@ public class MockHttpTransport extends com.google.api.client.testing.http.MockHt
req.getStreamingContent().writeTo(os);
Streams.readAllLines(new ByteArrayInputStream(os.toByteArray()), line -> {
final int indexOfHttp = line.indexOf(" HTTP/1.1");
if (indexOfHttp > 0) {
line = line.substring(0, indexOfHttp);
}
Handler handler = handlers.retrieve(line, params);
if (handler != null) {
try {