Mark Vogel
02/24/2023, 8:12 PMCasey Brooks
02/24/2023, 8:16 PMPablichjenkov
02/24/2023, 8:21 PMMark Vogel
02/24/2023, 8:21 PMkotlin.js.compiler=ir
in the gradle.properties and have JS targetsPablichjenkov
02/24/2023, 8:21 PMMark Vogel
02/24/2023, 8:22 PMCasey Brooks
02/24/2023, 8:22 PMbuild.gradle
? If a specific JS target is declared in the Gradle file, it will take precedence over the gradle.propertiesMark Vogel
02/24/2023, 8:24 PMjs("browser") {
useCommonJs()
browser()
binaries.library()
}
binaries.library()
when it should be executableCould not determine the dependencies of task ':multiplatform:assembleBrowserPackage'.
> Cannot query the value of this provider because it has no value available.
Casey Brooks
02/24/2023, 8:26 PMjs("browser")
). I’m not certain about this one, but maybe try making sure neither the library nor you application specify a target name, or else that they use the same target nameMark Vogel
02/24/2023, 8:28 PMjs
. I'll give that a try regardless although now I'm just getting that latest errorPablichjenkov
02/24/2023, 8:30 PMCasey Brooks
02/24/2023, 8:32 PM// in the library module
plugins {
kotlin("multiplatform")
}
kotlin {
explicitApi()
js(BOTH) {
browser {}
}
}
// in the application module
plugins {
kotlin("multiplatform")
}
kotlin {
js(IR) {
browser {}
binaries.executable()
}
}
Mark Vogel
02/24/2023, 8:34 PMCould not determine the dependencies of task ':multiplatform:assembleJsPackage'.
> Cannot query the value of this provider because it has no value available.