better-parse icon indicating copy to clipboard operation
better-parse copied to clipboard

Library is not visible in multiplatform project (specifically js and common modules)

Open waterstopper opened this issue 3 years ago • 0 comments

I have a related question on stackoverflow.

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
    }

waterstopper avatar Mar 31 '23 18:03 waterstopper