diff --git a/buildSrc/src/main/kotlin/stdx-publishing.gradle.kts b/buildSrc/src/main/kotlin/stdx-publishing.gradle.kts index eb02999..e4dfdb9 100644 --- a/buildSrc/src/main/kotlin/stdx-publishing.gradle.kts +++ b/buildSrc/src/main/kotlin/stdx-publishing.gradle.kts @@ -33,7 +33,8 @@ publishing { val platform = name.substringAfterLast('-') val dokkaJar = tasks.register("${platform}DokkaJar", Jar::class) { dependsOn("dokkaHtml") - archiveClassifier.set("$platform-javadoc") + archiveClassifier.set("javadoc") + destinationDirectory.set(buildDir.resolve(platform)) from(tasks.getByName("dokkaHtml")) } artifact(dokkaJar)