Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
Readded javadocJar
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Louis committed Dec 8, 2022
1 parent 1e6c0c0 commit c37b8a7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,13 @@ signing {


tasks {
// register("dokkaJavadoc", DokkaTask::class) {
// outputFormat = "javadoc"
// outputDirectory = "$buildDir/javadoc"
// configuration.reportUndocumented = false
// }
register("javadocJar", Jar::class) {
// dependsOn("dokkaJavadoc")
archiveClassifier.set("javadoc")
from("$buildDir/javadoc")
}
Expand All @@ -65,7 +71,7 @@ publishing {
publications {
create<MavenPublication>("ktor-onelogin-saml") {
from(components["kotlin"])
//artifact(tasks.getByName<Zip>("javadocJar"))
artifact(tasks.getByName<Zip>("javadocJar"))
artifact(tasks.getByName<Zip>("sourcesJar"))

pom {
Expand Down

0 comments on commit c37b8a7

Please sign in to comment.