Browse Source

Support Kotlin 1.8.20 (#3000)

* Support Kotlin 1.8.20

* Use Compiler 1.4.5-rc01 for Gradle tests

* Update ComposeCompilerCompatibility.kt
pull/3002/head
Igor Demin 2 years ago committed by GitHub
parent
commit
1fbeced85b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/ComposeCompilerCompatibility.kt
  2. 6
      gradle-plugins/gradle.properties

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

@ -9,6 +9,7 @@ internal object ComposeCompilerCompatibility {
"1.7.20" to "1.3.2.2", "1.7.20" to "1.3.2.2",
"1.8.0" to "1.4.0", "1.8.0" to "1.4.0",
"1.8.10" to "1.4.2", "1.8.10" to "1.4.2",
"1.8.20" to "1.4.5-rc02",
) )
fun compilerVersionFor(kotlinVersion: String): String { fun compilerVersionFor(kotlinVersion: String): String {

6
gradle-plugins/gradle.properties

@ -4,11 +4,11 @@ kotlin.code.style=official
# Default version of Compose Libraries used by Gradle plugin # Default version of Compose Libraries used by Gradle plugin
compose.version=1.3.1 compose.version=1.3.1
# The latest version of Compose Compiler used by Gradle plugin. Used only in tests/CI. # The latest version of Compose Compiler used by Gradle plugin. Used only in tests/CI.
compose.tests.compiler.version=1.4.2 compose.tests.compiler.version=1.4.5-rc01
# The latest version of Kotlin compatible with compose.tests.compiler.version. Used only in tests/CI. # The latest version of Kotlin compatible with compose.tests.compiler.version. Used only in tests/CI.
compose.tests.compiler.compatible.kotlin.version=1.8.10 compose.tests.compiler.compatible.kotlin.version=1.8.20
# The latest version of Kotlin compatible with compose.tests.compiler.version for JS target. Used only on CI. # The latest version of Kotlin compatible with compose.tests.compiler.version for JS target. Used only on CI.
compose.tests.js.compiler.compatible.kotlin.version=1.8.10 compose.tests.js.compiler.compatible.kotlin.version=1.8.20
# __SUPPORTED_GRADLE_VERSIONS__ # __SUPPORTED_GRADLE_VERSIONS__
compose.tests.gradle.versions=7.0.2, 8.0-rc-1 compose.tests.gradle.versions=7.0.2, 8.0-rc-1

Loading…
Cancel
Save