File tree Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -165,13 +165,6 @@ tasks {
165
165
named(" generateLicenseReport" ).configure {
166
166
dependsOn(cleanLicenses)
167
167
}
168
-
169
- // Because we reconfigure publishing to only include the shadow jar, the Gradle metadata is not correct.
170
- // Since we are fully bundled and have no dependencies, Gradle metadata wouldn't provide any advantage over
171
- // the POM anyways so in practice we shouldn't be losing anything.
172
- withType<GenerateModuleMetadata >().configureEach {
173
- enabled = false
174
- }
175
168
}
176
169
177
170
// Don't publish non-shadowed jar (shadowJar is in shadowRuntimeElements)
Original file line number Diff line number Diff line change @@ -24,9 +24,4 @@ tasks {
24
24
attributes(" Automatic-Module-Name" to " com.microsoft.applicationinsights.attach" )
25
25
}
26
26
}
27
-
28
- // disabling the publication of Gradle Module Metadata
29
- withType<GenerateModuleMetadata >().configureEach {
30
- enabled = false
31
- }
32
27
}
Original file line number Diff line number Diff line change @@ -89,6 +89,14 @@ tasks {
89
89
isPreserveFileTimestamps = false
90
90
isReproducibleFileOrder = true
91
91
}
92
+
93
+ // disabling the publication of Gradle Module Metadata
94
+ // Because we reconfigure publishing to only include the shadow jar, the Gradle metadata is not correct.
95
+ // Since we are fully bundled and have no dependencies, Gradle metadata wouldn't provide any advantage over
96
+ // the POM anyways so in practice we shouldn't be losing anything.
97
+ withType<GenerateModuleMetadata >().configureEach {
98
+ enabled = false
99
+ }
92
100
}
93
101
94
102
normalization {
You can’t perform that action at this time.
0 commit comments