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 dffb669 commit 130dc9fCopy full SHA for 130dc9f
gradle/publish-bintray.gradle
@@ -38,6 +38,12 @@ task sourcesJar(type: Jar) {
38
from "src/main/kotlin"
39
}
40
41
+// empty xxx-javadoc.jar
42
+task javadocJar(type: Jar) {
43
+ classifier = 'javadoc'
44
+ from "$buildDir/javadoc" // would not exist
45
+}
46
+
47
if (!project.name.endsWith("-native")) {
48
publishing {
49
repositories {
@@ -47,6 +53,7 @@ if (!project.name.endsWith("-native")) {
53
maven(MavenPublication) {
54
from components.java
55
artifact sourcesJar
56
+ artifact javadocJar
50
57
if (project.name.endsWith("-maven-plugin")) {
51
58
pom.with {
52
59
packaging = 'maven-plugin'
0 commit comments