I noticed that adding library to the jsMain module is not working, while in jvmMain a separate dependency works:
sourceSets {
val commonMain by getting {
dependencies {
implementation("com.github.h0tk3y.betterParse:better-parse:0.4.4")
}
}
val commonTest by getting {
dependencies {
implementation(kotlin("test"))
}
}
val jvmMain by getting {
dependencies {
implementation("com.github.h0tk3y.betterParse:better-parse-jvm:0.4.4")
}
}
val jvmTest by getting
val jsMain by getting {
dependencies {
implementation("com.github.h0tk3y.betterParse:better-parse-js:0.4.4")
}
}
val jsTest by getting
}
I have a related question on stackoverflow.
I noticed that adding library to the
jsMain
module is not working, while injvmMain
a separate dependency works: