Skip to content

Commit

Permalink
build: Fix publishing.... why gradle.....
Browse files Browse the repository at this point in the history
  • Loading branch information
zml2008 committed Jun 12, 2021
1 parent fb159d3 commit 4d6df08
Showing 1 changed file with 2 additions and 0 deletions.
@@ -1,4 +1,5 @@
import com.adarshr.gradle.testlogger.theme.ThemeType
import org.gradle.api.artifacts.type.ArtifactTypeDefinition

plugins {
id("adventure.base-conventions")
Expand All @@ -25,6 +26,7 @@ configurations {
create("files") {
artifact(tasks.javadoc.map { it.destinationDir!! }) {
builtBy(tasks.javadoc)
type = ArtifactTypeDefinition.DIRECTORY_TYPE // JavaBasePlugin has a hardcoded list of artifact types that can't be published. this is one of them
}
attributes {
attribute(JavadocPackaging.ATTRIBUTE, objects.named(JavadocPackaging.DIRECTORY))
Expand Down

0 comments on commit 4d6df08

Please sign in to comment.