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 0ac0c0b commit 1e6b99dCopy full SHA for 1e6b99d
otelagent/build.gradle.kts
@@ -100,6 +100,12 @@ tasks {
100
attributes.put("Implementation-Version", implementationVersion)
101
}
102
103
+
104
+ // Since we are reconfiguring the publishing procedure to only include the shadow jar, the Gradle metadata file
105
+ // generated is no longer valid. Instead we should rely only on the pom generated.
106
+ withType<GenerateModuleMetadata>().configureEach {
107
+ enabled = false
108
+ }
109
110
111
val shadowJar = tasks.named("shadowJar")
@@ -114,6 +120,10 @@ tasks {
114
120
publications {
115
121
named<MavenPublication>("maven") {
116
122
artifact(archiveFile)
123
+ pom {
124
+ // Force packaging in the POM.
125
+ packaging = "jar"
126
117
127
118
128
119
129
0 commit comments