Skip to content

Commit ab413eb

Browse files
committed
Work around Shadow plugin issue
1 parent 256d226 commit ab413eb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

gradle/plugins/common/src/main/kotlin/junitbuild.shadow-conventions.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ tasks {
3939
exclude("META-INF/maven/**")
4040
excludes.remove("module-info.class")
4141
archiveClassifier = ""
42+
from(sourceSets.main.get().output.classesDirs) {
43+
include("module-info.class")
44+
}
4245
}
4346
jar {
4447
dependsOn(shadowJar)

0 commit comments

Comments
 (0)