Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate away from Kotlin JS plugin #1521

Merged
merged 1 commit into from
Sep 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"))
)
}