GoogleCloudPlatform / artifact-registry-maven-tools

Apache License 2.0
22 stars 23 forks source link

Force use of guava-jre #69

Closed loosebazooka closed 2 years ago

loosebazooka commented 2 years ago

and make sure guava-android cannot sneak in

Signed-off-by: Appu Goundan appu@google.com

Fix #63

yihanzhen commented 2 years ago

/gcbrun

yihanzhen commented 2 years ago

Thanks!

rravi-sift commented 2 years ago

@yihanzhen we are using the 2.1.5 version of the Gradle plugin and noticed that this fix is not in it yet. That is, we are running into the same issue in which the artifact registry transitively uses the android variant of Guava. Is this fix yet to be released?

com.google.guava:guava:30.1.1-android
  com.google.auth:google-auth-library-oauth2-http:1.0.0
    com.google.cloud.artifactregistry:artifactregistry-auth-common:2.1.5
      gradle.plugin.com.google.cloud.artifactregistry:artifactregistry-gradle-plugin:2.1.5
        com.google.cloud.artifactregistry.gradle-plugin:com.google.cloud.artifactregistry.gradle-plugin.gradle.plugin:2.1.5