Skip to content

Commit d5bf46e

Browse files
committed
chore(build): Give mod-repack an empty JD jar to make central happy
1 parent a5edde7 commit d5bf46e

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

fabric/mod-shared-repack/build.gradle.kts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,7 @@ tasks {
3333
sourcesJar {
3434
from(zipTree(common.tasks.sourcesJar.flatMap { it.archiveFile }))
3535
}
36-
javadocJar {
36+
javadoc {
3737
enabled = false
3838
}
3939
}
40-
41-
afterEvaluate {
42-
val javaComponent = components["java"] as AdhocComponentWithVariants
43-
javaComponent.withVariantsFromConfiguration(configurations["javadocElements"]) {
44-
skip()
45-
}
46-
}

0 commit comments

Comments
 (0)