Skip to content

Commit b1adb31

Browse files
committed
Fix Gradle Shadow config
1 parent 824e814 commit b1adb31

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,9 @@ tasks.shadowJar {
221221
minimize()
222222
}
223223

224-
val javaComponent = components["java"] as AdhocComponentWithVariants
224+
shadow {
225+
addShadowVariantIntoJavaComponent = false
226+
}
225227

226228
/* ******************** publishing ******************** */
227229

0 commit comments

Comments
 (0)