Skip to content

Commit

Permalink
Update the auth dependency to 1.24.1 (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
yiyangw-g authored Aug 22, 2024
1 parent 32f1081 commit 0eb0a2c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
7 changes: 3 additions & 4 deletions artifactregistry-auth-common/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
dependencies {
implementation('com.google.http-client:google-http-client:1.39.2')
implementation('com.google.http-client:google-http-client:1.44.2')
implementation('com.google.http-client:google-http-client-jackson2:1.39.2')
implementation('com.google.auth:google-auth-library-oauth2-http:1.0.0')
implementation('com.google.auth:google-auth-library-oauth2-http:1.24.1')
implementation group: 'org.slf4j', name: 'slf4j-api', version:'1.7.30'

// override any guava:*-android dependency with jre dependency
implementation group: 'com.google.guava', name: 'guava', version:'30.1.1-jre'
implementation group: 'com.google.guava', name: 'guava', version:'33.2.1-jre'

// Exclude stuff that we don't need that bring in a ton of transitive deps.
configurations.implementation {
exclude group: 'com.google.guava', module:'failureaccess'
exclude group: 'com.google.guava', module:'listenablefuture'
exclude group: 'org.checkerframework', module:'checker-compat-qual'
exclude group: 'org.checkerframework', module:'checker-qual'
Expand Down
2 changes: 1 addition & 1 deletion artifactregistry-gradle-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {

dependencies {
implementation gradleApi()
implementation group: 'com.google.auth', name: 'google-auth-library-oauth2-http', version: '1.0.0'
implementation group: 'com.google.auth', name: 'google-auth-library-oauth2-http', version: '1.24.1'
}

pluginBundle {
Expand Down
8 changes: 5 additions & 3 deletions artifactregistry-maven-wagon/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
dependencies {
implementation group: 'org.apache.maven.wagon', name: 'wagon-http-shared', version: '3.3.3'
implementation group: 'org.apache.maven', name: 'maven-plugin-api', version: '3.6.1'
implementation('com.google.http-client:google-http-client:1.43.2')
implementation group: 'com.google.auth', name: 'google-auth-library-oauth2-http', version:'1.0.0'
implementation('com.google.http-client:google-http-client:1.44.2')
implementation group: 'com.google.auth', name: 'google-auth-library-oauth2-http', version:'1.24.1'

// override any guava:*-android dependency with jre dependency
implementation group: 'com.google.guava', name: 'guava', version:'33.2.1-jre'

// Exclude stuff that we don't need that bring in a ton of transitive deps.
configurations.implementation {
exclude group: 'com.google.guava', module:'failureaccess'
exclude group: 'com.google.guava', module:'listenablefuture'
exclude group: 'org.checkerframework', module:'checker-compat-qual'
exclude group: 'org.checkerframework', module:'checker-qual'
Expand Down

0 comments on commit 0eb0a2c

Please sign in to comment.