Jonathan Lennox
07/10/2024, 8:57 PMid("org.jetbrains.kotlin.js") version "1.4.10"
to something more modern, and I am deeply confused. Is there any guidance anywhere on how to translate the old syntax to something newer?Jonathan Lennox
07/10/2024, 8:58 PMJonathan Lennox
07/10/2024, 8:58 PMtapchicoma
07/10/2024, 9:01 PMjs
to multiplatform
and enable js()
target in the build scriptJonathan Lennox
07/10/2024, 9:02 PMtapchicoma
07/10/2024, 9:02 PMJonathan Lennox
07/10/2024, 9:02 PMtapchicoma
07/10/2024, 9:03 PMkotlin {
sourceSets["jsMain"].dependencies {
implementation("com.example:something:12.3")
}
}
Jonathan Lennox
07/10/2024, 9:05 PMtapchicoma
07/10/2024, 9:06 PMJonathan Lennox
07/10/2024, 9:07 PMbinaries.executable()
, or does it go somewhere else?tapchicoma
07/10/2024, 9:08 PMjs {}
DSLtapchicoma
07/10/2024, 9:08 PMjs()
to js { }
Jonathan Lennox
07/10/2024, 9:10 PMKotlinSourceSet with name 'jsMain' not found.
Jonathan Lennox
07/10/2024, 9:11 PMsrc/main
directory as src/jsMain
but that didn't helphfhbd
07/10/2024, 9:14 PMkotlin {
js {
browser()
binaries.executable()
}
sourcesets["jsMain"].dependencies {
implementation()
}
}
tapchicoma
07/10/2024, 9:14 PMJonathan Lennox
07/10/2024, 9:14 PMhfhbd
07/10/2024, 9:15 PM