https://kotlinlang.org logo
Title
p

PHondogo

03/16/2021, 2:36 PM
I was trying to compile gradle multimodule project with desctop-compose artifact in each module. If I compile only one module it is ok. But when I add another gradle module with dependency on first module I got an error:
androidx.compose.compiler.plugins.kotlin.IncompatibleComposeRuntimeVersionException: You are using an outdated version of Compose Runtime that is not compatible with the version of the Compose Compiler plugin you have installed. The compose compiler plugin you are using (version 1.0.0-alpha13) expects a minimum runtime version of 1.0.0-alpha13.
v

Vahalaru

03/16/2021, 6:50 PM
This error happens when your program calls the same dependency multiple times. Somewhere you are calling the dependency a second time.
p

PHondogo

03/17/2021, 6:31 AM
@Vahalaru Thank you! You saved my time!