Skip to content

Commit bf0fef0

Browse files
committed
HiveMQ platform -> Add configurations for platform build
1 parent bd60fb9 commit bf0fef0

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

build.gradle.kts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,4 +167,18 @@ nexusPublishing {
167167
license {
168168
header = projectDir.resolve("HEADER")
169169
mapping("java", "SLASHSTAR_STYLE")
170+
}
171+
172+
/* ******************** artifacts ******************** */
173+
174+
val javadoc by configurations.creating {
175+
isCanBeConsumed = true
176+
isCanBeResolved = false
177+
attributes {
178+
attribute(Category.CATEGORY_ATTRIBUTE, objects.named("javadocs"))
179+
}
180+
}
181+
182+
artifacts {
183+
add(javadoc.name, tasks.named("javadocJar"))
170184
}

0 commit comments

Comments
 (0)