From 11e544b7e9519262955f94f93a0e9eee3b146f6a Mon Sep 17 00:00:00 2001 From: Russell Date: Mon, 9 Oct 2023 01:41:46 -0400 Subject: [PATCH] Actual publishing fix (famous last words) --- build.gradle.kts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 8777daa9..02e0fd91 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -50,7 +50,12 @@ allprojects { } publications.withType().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")