Improve a message about incompatible kotlin version (#3032)

* Improve a message about incompatible kotlin version

Add Compose Multiplatform to the message

* Update gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/ComposeCompilerCompatibility.kt

Co-authored-by: Igor Demin <igordmn@users.noreply.github.com>

---------

Co-authored-by: Igor Demin <igordmn@users.noreply.github.com>
This commit is contained in:
Oleksandr Karpovich
2023-04-11 14:34:33 +02:00
committed by GitHub
parent bd6513197c
commit 84d91b1e81

View File

@@ -14,7 +14,7 @@ internal object ComposeCompilerCompatibility {
fun compilerVersionFor(kotlinVersion: String): String {
return kotlinToCompiler[kotlinVersion] ?: throw RuntimeException(
"This version of Compose Multiplatform doesn't support Kotlin " +
"Compose Multiplatform ${ComposeBuildConfig.composeGradlePluginVersion} doesn't support Kotlin " +
"$kotlinVersion. " +
"Please see $KOTLIN_COMPATIBILITY_LINK " +
"to know the latest supported version of Kotlin."