Skip to content

Commit c747b70

Browse files
committed
Fix shadow plugin configuration
1 parent 418aebf commit c747b70

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,10 @@ tasks.shadowJar {
229229
minimize()
230230
}
231231

232+
val javaComponent = components["java"] as AdhocComponentWithVariants
233+
javaComponent.withVariantsFromConfiguration(configurations.shadowRuntimeElements.get()) {
234+
skip()
235+
}
232236

233237
/* ******************** publishing ******************** */
234238

0 commit comments

Comments
 (0)