Browse Source

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>
pull/3039/head
Oleksandr Karpovich 2 years ago committed by GitHub
parent
commit
84d91b1e81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/ComposeCompilerCompatibility.kt

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

@ -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."

Loading…
Cancel
Save