https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
d

David Nedrow

02/18/2022, 3:41 AM
So I have a functional test library that compiles and works fine for both iOS and Android. Now I want to transpile to javascript as well. Is it just a matter of adding directives to the library's sourceSets in the gradle file? I assume it's something akin to jsmain and jstest.
a

andylamax

02/18/2022, 5:19 AM
add
js(IR) {}
in your build.gradle.kts
2 Views