Hi everyone, I am trying to expand my KMP project ...
# multiplatform
p
Hi everyone, I am trying to expand my KMP project to build on web as well with wasmJs. Does anybody know how can I add the respective third party dependencies? Inside
sourceSets
->
wasmJsMain
does not seem to accept the
dependencies
block.
w
Did you apply the default target hierarchy? Do that with
applyDefaultTargetHierarchy()
, then, add the wasmJs source set via delegated field:
val wasmJs by getting
wasmJs.dependencies {
implementation(your_lib_here)
}