Skip to content

Commit

Permalink
Remove stackdriver-specific dependencies from global dependencies.gradle
Browse files Browse the repository at this point in the history
There's no need to manage these dependencies globally when they will only be used in the stackdriver module. Switch to referencing the type-safe version catalog for these dependencies in the stackdriver build file.
  • Loading branch information
shakuzen committed Feb 2, 2024
1 parent 118ae8d commit 1e1cf64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ def VERSIONS = [
libs.caffeine,
libs.kafkaJunit,
libs.wiremock,
libs.googleOauth2Http,
libs.googleCloudMonitoring,
libs.dagger,
libs.daggerCompiler,
libs.guava,
Expand Down
4 changes: 2 additions & 2 deletions implementations/micrometer-registry-stackdriver/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ dependencies {

api platform(libs.googleCloudLibrariesBom)

api('com.google.cloud:google-cloud-monitoring') {
api(libs.googleCloudMonitoring) {
// see gh-4010
exclude group: 'com.google.guava', module: 'listenablefuture'
}
api 'com.google.auth:google-auth-library-oauth2-http'
api libs.googleOauth2Http
implementation 'org.slf4j:slf4j-api'
compileOnly 'ch.qos.logback:logback-classic'

Expand Down

0 comments on commit 1e1cf64

Please sign in to comment.