Skip to content

Commit

Permalink
Attempt to fix publishing with WASM (#1314)
Browse files Browse the repository at this point in the history
The new okio-wasifilesystem module is a multiplatform module
with a single artifact. This configuration is broken on the
latest version of Dokka.
    Kotlin/dokka#3038
  • Loading branch information
squarejesse authored Jul 27, 2023
1 parent 0bf8e5a commit 1740e8a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions okio-wasifilesystem/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import com.vanniktech.maven.publish.JavadocJar.Dokka
import com.vanniktech.maven.publish.JavadocJar.Empty
import com.vanniktech.maven.publish.KotlinMultiplatform
import com.vanniktech.maven.publish.MavenPublishBaseExtension
import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform
Expand Down Expand Up @@ -33,8 +33,10 @@ kotlin {
}

configure<MavenPublishBaseExtension> {
// TODO: switch from 'Empty' to 'Dokka' once this issue is resolved.
// https://github.com/Kotlin/dokka/issues/3038
configure(
KotlinMultiplatform(javadocJar = Dokka("dokkaGfm")),
KotlinMultiplatform(javadocJar = Empty()),
)
}

Expand Down

0 comments on commit 1740e8a

Please sign in to comment.