classpath(kotlin("gradle-plugin", version = "1.5.10"))
and other KMP modules uses
1.5.31
Im trying to figure out if I can put a conditional if/else in buildscript depending on the module name or create new buildscript for cli module.
if there is any resource/example please share
m
mbonnin
11/22/2021, 10:27 AM
Why don't you use
1.5.31
for your Kotlin Gradle Plugin everywhere ? That should be compatible
mbonnin
11/22/2021, 10:27 AM
Copy code
Versions of Kotlin older than 1.5.10 are not supported. Versions newer than those listed may be supported but are untested.
Uh ok...
mbonnin
11/22/2021, 10:28 AM
Well, what happens if you use
1.5.31
everywhere?
c
Ch8n
11/23/2021, 8:05 AM
thanks, @mbonnin for checking, Gradle prompt below message when I use
1.5.31
kotlin gradle version
Copy code
This version (1.1.0-alpha01) of the Compose Compiler requires Kotlin version 1.5.10 but you appear to be using Kotlin version 1.5.31 which is not known to be compatible. Please fix your configuration (or `suppressKotlinVersionCompatibilityCheck` but don't say I didn't warn you!).