Sebastien Leclerc Lavallee
04/21/2022, 4:31 PMid("org.jetbrains.compose") version "1.1.1"
). I think I got this from a tutorial or wizard in IntelliJ. Now I know that compose 1.1.1 does not support Kotlin 1.6.20. But I saw last week that a new version of the compose compiler alpha version (1.2.0-alpha08
) does now support Kotlin 1.6.20. But how do I get to force the compiler version ? Will it even work since the compiler is the one provided by Google and not the Jetbrain’s one which support compose web. Or are there any difference?! build.gradle.kts
setup in thread.
Thanks for clarifications 😅import org.jetbrains.compose.compose
plugins {
kotlin("multiplatform")
id("org.jetbrains.compose") version "1.1.1"
}
group = "com.test.web"
version = "0.0.1"
kotlin {
js(IR) {
browser {
testTask {
testLogging.showStandardStreams = true
useKarma {
useChromeHeadless()
useFirefox()
}
}
}
binaries.executable()
}
sourceSets {
val jsMain by getting {
dependencies {
implementation(compose.web.core)
implementation(compose.runtime)
}
}
val jsTest by getting {
dependencies {
implementation(kotlin("test-js"))
}
}
}
}
Kirill Grouchnikov
04/21/2022, 4:42 PMhfhbd
04/21/2022, 4:56 PM0.0.0-on-rebase-12-apr-2022-dev670
compiles with 1.6.20, but it is not an official release, not even an alpha releaseSebastien Leclerc Lavallee
04/21/2022, 4:57 PMhfhbd
04/21/2022, 4:58 PM1.2.0-alpha08
is Googles Android Compose version, which differs from Compose Multiplatform by JetBrainsSebastien Leclerc Lavallee
04/21/2022, 6:03 PM0.0.0-master-dev673
should also work on 1.6.20 ?John O'Reilly
04/21/2022, 6:09 PMhfhbd
04/21/2022, 8:25 PMSebastien Leclerc Lavallee
04/21/2022, 8:29 PM0.0.0-master-dev673
and working fine for now for my setup. I’ll continue to check compose web but at least it’s compiling which is what I wanted. Thanks for the help!phuc.tran
04/22/2022, 1:40 AMSebastien Leclerc Lavallee
04/22/2022, 2:20 AMphuc.tran
04/22/2022, 2:46 AMSebastien Leclerc Lavallee
04/22/2022, 2:49 AM