Big Chungus
09/30/2019, 5:56 AMturansky
09/30/2019, 7:48 AMJS
part?Big Chungus
09/30/2019, 7:50 AMturansky
09/30/2019, 7:53 AMsourceSet
Big Chungus
09/30/2019, 7:53 AMkotlin {
/* Targets configuration omitted.
* To find out how to configure the targets, please follow the link:
* <https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#setting-up-targets> */
wasm32("wasm") {
sourceSets {
val wasmMain by getting {
dependencies {
implementation(files("$projectDir/lib"))
}
}
}
}
}
turansky
09/30/2019, 8:00 AMBig Chungus
09/30/2019, 8:00 AMturansky
09/30/2019, 8:03 AMsourceSets
section must be located in kotlin
sectionBig Chungus
09/30/2019, 8:03 AMturansky
09/30/2019, 8:05 AMBig Chungus
09/30/2019, 8:10 AMturansky
09/30/2019, 1:03 PMwasm32
only
And include submodule with implementation(project(":my-wasm-lib"))