[Step 2] Update non-third party change for jackson2
Follow up for and Step two for
Closes
@@ -19,7 +19,7 @@ import static com.google.devtools.build.lib.remote.util.Utils.getFromFuture;
import build.bazel.remote.execution.v2.Digest;
import build.bazel.remote.execution.v2.RequestMetadata;
import com.google.api.client.json.GenericJson;
-import com.google.api.client.json.jackson2.JacksonFactory;
+import com.google.api.client.json.gson.GsonFactory;
import com.google.common.collect.ImmutableList;
import com.google.common.util.concurrent.ListeningScheduledExecutorService;
import com.google.common.util.concurrent.MoreExecutors;
@@ -135,7 +135,7 @@ class GrpcCacheClientTestBase {
json.put("client_secret", "foo");
json.put("refresh_token", "bar");
Scratch scratch = new Scratch();
- scratch.file(authTlsOptions.googleCredentials, new JacksonFactory().toString(json));
+ scratch.file(authTlsOptions.googleCredentials, new GsonFactory().toString(json));
CallCredentialsProvider callCredentialsProvider;
try (InputStream in = scratch.resolve(authTlsOptions.googleCredentials).getInputStream()) {
