1

I am making a desktop app using Kotlin compose(IntelliJ version 2021.2.1). My project is still running but I am getting these compile errors in the kotlin compose code.

"Check your module classpath for missing or conflicting dependencies"

Here are my project configurations Made of the project

my gradle file

enter image description here

enter image description here

As a solution, I removed cashe in .gradle and restart IDE with invalidating cashe but didn't work. and changed JDK versions and kotlin versions as well but still getting the same output.

Abhimanyu
  • 11,351
  • 7
  • 51
  • 121
Prasa Dev
  • 93
  • 9

1 Answers1

2

Your project uses pretty outdated versions of both kotlin and Compose.

Check out that your Compose Multiplatform IDE Support plugin is up to date, the latest version for today is 1.0.0-alpha4-build331

Latest versions of plugins for build.gradle.kts:

kotlin("jvm") version "1.5.21"
id("org.jetbrains.compose") version "1.0.0-alpha3"
Phil Dukhov
  • 67,741
  • 15
  • 184
  • 220