Fix publish for shaded caffeine artifact (#387)
- Don't publish rich Gradle module for spring-pulsar-cache-provider-caffeine
This commit is contained in:
@@ -33,6 +33,11 @@ shadowJar {
|
||||
|
||||
tasks.build.dependsOn tasks.shadowJar
|
||||
|
||||
// disable module metadata - otherwise original jar will be used when published
|
||||
tasks.withType(GenerateModuleMetadata) {
|
||||
enabled = false
|
||||
}
|
||||
|
||||
// delay the maven publishing - instead add shadowJar to the publication
|
||||
components.java.withVariantsFromConfiguration(configurations.shadowRuntimeElements) {
|
||||
skip()
|
||||
|
||||
Reference in New Issue
Block a user