i havent touched my project in a bit, just tried t...
# compose-desktop
a
i havent touched my project in a bit, just tried to update and build, and gradle is failing to sync now on the compose desktop properties, was there a change in how those work?
Copy code
val desktopMain by getting {
            dependencies {
                api(compose.preview) <-- This fails
                api(compose.desktop.currentOs)  <-- This fails
                api("org.jetbrains.kotlinx:kotlinx-serialization-core-jvm:$kotlinx_serialization_version")
            }
        }
e: \common\build.gradle.kts:93:21: Function invocation 'compose(...)' expected
This is with Compose Desktop
1.2.0-beta02
and IntelliJ 2022.2.3
Ah, yup indeed! https://github.com/JetBrains/compose-jb/pull/2215 If anyone else runs into this, remove
import org.jetbrains.compose.compose
from your gradle file, and make sure you have the plugin
id("org.jetbrains.compose")