From 226a1baeea2c4786bdd64aae92f8be6e8c4c43db Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 23 Oct 2021 08:54:44 +0200 Subject: [PATCH] build(deps): bump google-api-services-drive from v3-rev20210315-1.31.0 to v3-rev20211017-1.32.1 (#4240) * build(deps): bump google-api-services-drive Bumps google-api-services-drive from v3-rev20210315-1.31.0 to v3-rev20211017-1.32.1. --- updated-dependencies: - dependency-name: com.google.apis:google-api-services-drive dependency-type: direct:production ... Signed-off-by: dependabot[bot] * Change JSON API used by the Google extension, following dependency update. Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Antonin Delpeuch --- extensions/gdata/pom.xml | 2 +- .../com/google/refine/extension/gdata/GoogleAPIExtension.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/gdata/pom.xml b/extensions/gdata/pom.xml index 718fbf650..61692ad62 100644 --- a/extensions/gdata/pom.xml +++ b/extensions/gdata/pom.xml @@ -129,7 +129,7 @@ com.google.apis google-api-services-drive - v3-rev20210315-1.31.0 + v3-rev20211017-1.32.1 com.google.apis diff --git a/extensions/gdata/src/com/google/refine/extension/gdata/GoogleAPIExtension.java b/extensions/gdata/src/com/google/refine/extension/gdata/GoogleAPIExtension.java index d1dbc6d04..e11109f7b 100644 --- a/extensions/gdata/src/com/google/refine/extension/gdata/GoogleAPIExtension.java +++ b/extensions/gdata/src/com/google/refine/extension/gdata/GoogleAPIExtension.java @@ -21,7 +21,7 @@ import com.google.api.client.http.HttpRequestInitializer; import com.google.api.client.http.HttpTransport; import com.google.api.client.http.javanet.NetHttpTransport; import com.google.api.client.json.JsonFactory; -import com.google.api.client.json.jackson2.JacksonFactory; +import com.google.api.client.json.gson.GsonFactory; import com.google.api.services.drive.Drive; import com.google.api.services.drive.DriveScopes; import com.google.api.services.sheets.v4.Sheets; @@ -46,7 +46,7 @@ abstract public class GoogleAPIExtension { protected static final HttpTransport HTTP_TRANSPORT = new NetHttpTransport(); /** Global instance of the JSON factory. */ - protected static final JsonFactory JSON_FACTORY = new JacksonFactory(); + protected static final JsonFactory JSON_FACTORY = new GsonFactory(); private static final String[] SCOPES = {DriveScopes.DRIVE, SheetsScopes.SPREADSHEETS};