Skip to content

Commit b70e8ef

Browse files
authored
keep GoogleUtils (#1467)
* keep GoogleUtils
1 parent 611d81d commit b70e8ef

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

google-api-client/pom.xml

+14-1
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,23 @@
145145
<artifactId>commons-codec</artifactId>
146146
<scope>provided</scope>
147147
<version>1.14</version>
148-
</dependency>
148+
</dependency>
149149
<dependency>
150150
<groupId>com.google.guava</groupId>
151151
<artifactId>guava</artifactId>
152152
</dependency>
153+
<dependency>
154+
<groupId>androidx.annotation</groupId>
155+
<artifactId>annotation</artifactId>
156+
<version>1.1.0</version>
157+
</dependency>
153158
</dependencies>
159+
160+
<repositories>
161+
<repository>
162+
<id>google</id>
163+
<name>Google Maven Repository</name>
164+
<url>https://maven.google.com/</url>
165+
</repository>
166+
</repositories>
154167
</project>

google-api-client/src/main/java/com/google/api/client/googleapis/GoogleUtils.java

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
package com.google.api.client.googleapis;
1616

17+
import androidx.annotation.Keep;
1718
import com.google.api.client.util.SecurityUtils;
1819
import com.google.common.annotations.VisibleForTesting;
1920
import java.io.IOException;
@@ -30,6 +31,7 @@
3031
* @since 1.12
3132
* @author [email protected] (Ravi Mistry)
3233
*/
34+
@Keep
3335
public final class GoogleUtils {
3436

3537
/** Current release version. */

0 commit comments

Comments
 (0)