From 84d91b1e815acac931abde6948736b0889fded05 Mon Sep 17 00:00:00 2001 From: Oleksandr Karpovich Date: Tue, 11 Apr 2023 14:34:33 +0200 Subject: [PATCH] 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 --------- Co-authored-by: Igor Demin --- .../org/jetbrains/compose/ComposeCompilerCompatibility.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/ComposeCompilerCompatibility.kt b/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/ComposeCompilerCompatibility.kt index 394227c0..df8ae597 100644 --- a/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/ComposeCompilerCompatibility.kt +++ b/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."