Hello :wave: is it possible to use Compose Desktop...
# compose-desktop
o
Hello 👋 is it possible to use Compose Desktop in a separate Gradle module in Android Studio 4.2-Canary16 ? I can’t find a way to activate the use of the new kotlin compiler backend for compose desktop like in Android Module via
useIR = true
i
When you apply
id("org.jetbrains.compose")
plugin then
useIR = true
should be activated automatically. Try the latest Gradle (6.7) and the latest Compose for Desktop (0.2.0-build128). There is an example how to use Desktop in a separate module in a Kotlin multiplatform project: https://github.com/JetBrains/compose-jb/blob/master/templates/multiplatform-template/desktop/build.gradle.kts
👍 3
0.2.0-build128
Also note that Kotlin Plugin should be upgraded to 1.4.20 (and also the version of Kotlin in build.gradle.kts)
👍 1
o
Thank you Igor it worked for me 👍
👍 1
I was using an older version 0.1 m1