Skip to content

Commit

Permalink
Fix shadow plugin configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Donnerbart committed Dec 3, 2024
1 parent 418aebf commit c747b70
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,10 @@ tasks.shadowJar {
minimize()
}

val javaComponent = components["java"] as AdhocComponentWithVariants
javaComponent.withVariantsFromConfiguration(configurations.shadowRuntimeElements.get()) {
skip()
}

/* ******************** publishing ******************** */

Expand Down

0 comments on commit c747b70

Please sign in to comment.