Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions gcp-auth-extension/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,19 @@ tasks {
}

shadowJar {
archiveClassifier.set("")
archiveClassifier.set("shadow")
}

jar {
// Disable standard jar
enabled = false
/**
* We need to publish both - shaded and unshaded variants of the dependency
* Shaded dependency is required for use with the Java agent.
* Unshaded dependency can be used with OTel Autoconfigure module.
*
* Not overriding the classifier to empty results in an implicit classifier 'plain' being
* used with the standard JAR.
*/
archiveClassifier.set("")
}

assemble {
Expand Down