Skip to content

Commit

Permalink
Migrate away from Kotlin JS plugin (#1521)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton authored Sep 16, 2024
1 parent bdece85 commit 9905a20
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions okio-nodefilesystem/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import com.vanniktech.maven.publish.JavadocJar.Dokka
import com.vanniktech.maven.publish.KotlinJs
import com.vanniktech.maven.publish.KotlinMultiplatform
import com.vanniktech.maven.publish.MavenPublishBaseExtension

plugins {
kotlin("js")
kotlin("multiplatform")
id("org.jetbrains.dokka")
id("com.vanniktech.maven.publish.base")
id("binary-compatibility-validator")
Expand Down Expand Up @@ -37,14 +37,14 @@ kotlin {
optIn("kotlin.time.ExperimentalTime")
}
}
val main by getting {
commonMain {
dependencies {
implementation(projects.okio)
// Uncomment this to generate fs.fs.module_node.kt. Use it when updating fs.kt.
// implementation(npm("@types/node", "14.14.16", true))
}
}
val test by getting {
commonTest {
dependencies {
implementation(libs.kotlin.test)
implementation(libs.kotlin.time)
Expand All @@ -58,6 +58,6 @@ kotlin {

configure<MavenPublishBaseExtension> {
configure(
KotlinJs(javadocJar = Dokka("dokkaGfm"))
KotlinMultiplatform(javadocJar = Dokka("dokkaGfm"))
)
}

0 comments on commit 9905a20

Please sign in to comment.