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};