Skip to content

Commit

Permalink
Actual publishing fix
Browse files Browse the repository at this point in the history
(famous last words)
  • Loading branch information
russhwolf committed Oct 9, 2023
1 parent 1be7a6e commit 11e544b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ allprojects {
}

publications.withType<MavenPublication>().configureEach {
artifact(emptyJavadocJar.get())
val publication = this
val javadocJar = tasks.register("${publication.name}JavadocJar", Jar::class) {
archiveClassifier.set("javadoc")
archiveBaseName.set("${archiveBaseName.get()}-${publication.name}")
}
artifact(javadocJar)

pom {
name.set("Multiplatform Settings")
Expand Down

0 comments on commit 11e544b

Please sign in to comment.