Skip to content

Commit bd6e7b0

Browse files
committed
Fix shaded variant classifier
1 parent bfc722a commit bd6e7b0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gcp-auth-extension/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
...

gcp-auth-extension/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

7777
val builtLibsDir = layout.buildDirectory.dir("libs").get().asFile.absolutePath
7878
val javaAgentJarPath = "$builtLibsDir/otel-agent.jar"
79-
val authExtensionJarPath = "$builtLibsDir/gcp-auth-extension.jar"
79+
val authExtensionJarPath = "${tasks.shadowJar.get().archiveFile.get()}"
8080

8181
tasks.register<Copy>("copyAgent") {
8282
into(layout.buildDirectory.dir("libs"))

0 commit comments

Comments
 (0)