Browse Source

Use Compose Compiler 1.3.2.1 (#2442)

Use Compose Compiler 1.3.2.1

With Kotlin 1.7.20 support for JS
pull/2445/head
Igor Demin 2 years ago committed by GitHub
parent
commit
7e597c83e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/ComposeCompilerCompatability.kt

5
gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/ComposeCompilerCompatability.kt

@ -5,10 +5,7 @@ import org.jetbrains.kotlin.gradle.plugin.KotlinPlatformType
internal object ComposeCompilerCompatability {
fun compilerVersionFor(kotlinVersion: String): ComposeCompilerVersion? = when (kotlinVersion) {
"1.7.10" -> ComposeCompilerVersion("1.3.0")
"1.7.20" -> ComposeCompilerVersion(
"1.3.2",
unsupportedPlatforms = setOf(KotlinPlatformType.js)
)
"1.7.20" -> ComposeCompilerVersion("1.3.2.1-rc02")
else -> null
}
}

Loading…
Cancel
Save