Skip to content

Commit

Permalink
Fix dokka jar not being generated
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Mar 4, 2024
1 parent 9a270ea commit 0066b28
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions buildSrc/src/main/kotlin/kord-publishing.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import com.vanniktech.maven.publish.JavadocJar
import com.vanniktech.maven.publish.KotlinMultiplatform
import org.jetbrains.kotlin.konan.target.KonanTarget

plugins {
Expand All @@ -15,6 +17,10 @@ mavenPublishing {
publishToMavenCentral()
signAllPublications()

if (plugins.hasPlugin("org.jetbrains.kotlin.multiplatform")) {
configure(KotlinMultiplatform(javadocJar = JavadocJar.Dokka("dokkaHtml")))
}

pom {
name = Library.name
description = Library.description
Expand Down

0 comments on commit 0066b28

Please sign in to comment.