File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ dependencies {
9191 implementation("io.opentelemetry:opentelemetry-exporter-otlp")
9292 implementation("io.opentelemetry:opentelemetry-sdk-extension-autoconfigure")
9393 // use the shaded variant of the dependency
94- implementation("io.opentelemetry.contrib:opentelemetry-gcp-auth-extension:<VERSION>:shaded ")
94+ implementation("io.opentelemetry.contrib:opentelemetry-gcp-auth-extension")
9595
9696 // other dependencies
9797 ...
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ tasks {
5656 }
5757
5858 shadowJar {
59- archiveFileName .set(" gcp-auth-extension.jar " )
59+ archiveClassifier .set(" " )
6060 }
6161
6262 jar {
@@ -76,7 +76,7 @@ tasks {
7676
7777val builtLibsDir = layout.buildDirectory.dir(" libs" ).get().asFile.absolutePath
7878val javaAgentJarPath = " $builtLibsDir /otel-agent.jar"
79- val authExtensionJarPath = " $builtLibsDir /gcp-auth-extension.jar "
79+ val authExtensionJarPath = " ${tasks.shadowJar.get().archiveFile.get()} "
8080
8181tasks.register<Copy >(" copyAgent" ) {
8282 into(layout.buildDirectory.dir(" libs" ))
You can’t perform that action at this time.
0 commit comments