Is there any particular recommended way of having a Kotlin 1.7.20 project with Compose for Desktop and Web (but just Kotlin 1.7.10 for Web as is needed right now)?
i
Igor Demin
10/12/2022, 1:48 PM
You can move Web to a separate Gradle module, and use 1.7.10 in this module, and 1.7.20 in the other modules.
Error resolving plugin [id: 'org.jetbrains.kotlin.multiplatform', version: '1.7.10']
> The request for this plugin could not be satisfied because the plugin is already on the classpath with an unknown version, so compatibility cannot be checked.
John O'Reilly
10/12/2022, 1:51 PM
I could be missing something though in terms of how this needs to be setup
j
Javier
10/12/2022, 1:55 PM
you need to remove kotlin plugin from buildscript dependencies block or from buildSrc
Javier
10/12/2022, 1:56 PM
then you can apply the kotlin plugin with different version on each project
plugins {
kotlin(“multiplatform”) version “1.7.20”
}