I'm looking at the WASM project generated by the new KMP wizard. Nowhere in the build.gradle.kts are any dependencies declared for the WASM source set, but somehow it has access to
androidx.compose.ui.window.CanvasBasedWindow
. How is that possible?
a
Artem Kobzar
12/13/2023, 4:58 PM
It could access also dependencies from the common source set
c
CLOVIS
12/13/2023, 4:58 PM
Is
CanvasBasedWindow
a common function?
CLOVIS
12/13/2023, 4:58 PM
These are the common dependencies
o
Oleksandr Karpovich [JB]
12/13/2023, 5:19 PM
CanvasBasedWindow is declared in js and wasm sourcesets of compose.ui
It's not a common function