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] <support@github.com>

* 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 <antonin@delpeuch.eu>
This commit is contained in:
dependabot[bot] 2021-10-23 08:54:44 +02:00 committed by GitHub
parent 37f57c7526
commit 226a1baeea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -129,7 +129,7 @@
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-drive</artifactId>
<version>v3-rev20210315-1.31.0</version>
<version>v3-rev20211017-1.32.1</version>
</dependency>
<dependency>
<groupId>com.google.apis</groupId>

View File

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