Skip to content

Commit 7adb1b4

Browse files
committed
Build Javadoc and Source JARs
1 parent ee89700 commit 7adb1b4

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

build.gradle.kts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ subprojects {
4141
}
4242
}
4343
}
44+
45+
java {
46+
withSourcesJar()
47+
withJavadocJar()
48+
}
49+
50+
tasks.named<Jar>("javadocJar") {
51+
from(tasks.dokkaGeneratePublicationJavadoc.flatMap { it.outputDirectory })
52+
}
4453
}
4554

4655
dependencies {

0 commit comments

Comments
 (0)