We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2a97f4 commit e3ac19fCopy full SHA for e3ac19f
gcp-auth-extension/build.gradle.kts
@@ -60,12 +60,19 @@ tasks {
60
}
61
62
shadowJar {
63
- archiveClassifier.set("")
+ archiveClassifier.set("shadow")
64
65
66
jar {
67
- // Disable standard jar
68
- enabled = false
+ /**
+ * We need to publish both - shaded and unshaded variants of the dependency
69
+ * Shaded dependency is required for use with the Java agent.
70
+ * Unshaded dependency can be used with OTel Autoconfigure module.
71
+ *
72
+ * Not overriding the classifier to empty results in an implicit classifier 'plain' being
73
+ * used with the standard JAR.
74
+ */
75
+ archiveClassifier.set("")
76
77
78
assemble {
0 commit comments