We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd60fb9 commit bf0fef0Copy full SHA for bf0fef0
build.gradle.kts
@@ -167,4 +167,18 @@ nexusPublishing {
167
license {
168
header = projectDir.resolve("HEADER")
169
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"))
184
}
0 commit comments