Correct all occurrences of "compatability" (#2623)

This commit is contained in:
Emre Şafak
2023-01-13 01:05:31 -08:00
committed by GitHub
parent e3382dba2a
commit eba6b45df7
6 changed files with 8 additions and 8 deletions

View File

@@ -84,7 +84,7 @@ This version of Compose Multiplatform is based on the next Jetpack Compose libra
- [Documentation for how to package apps using Conveyor](https://github.com/JetBrains/compose-jb/tree/master/tutorials/Native_distributions_and_local_execution#available-tools)
### Fixes
- [Fix IDEA plugin compatability](https://github.com/JetBrains/compose-jb/pull/2318)
- [Fix IDEA plugin compatibility](https://github.com/JetBrains/compose-jb/pull/2318)
- Fixes for Right-to-Left languages support
- [LayoutDirection is detected from the system settings](https://github.com/JetBrains/androidx/pull/264)
- [Fix RTL selection in a multiline text](https://github.com/JetBrains/androidx/pull/285)

View File

@@ -1,4 +1,4 @@
## Compatability and versioning overview
## Compatibility and versioning overview
### Supported platforms
* macOS (x86-64, arm64)

View File

@@ -1,9 +1,9 @@
package org.jetbrains.compose
private const val KOTLIN_COMPATABILITY_LINK =
private const val KOTLIN_COMPATIBILITY_LINK =
"https://github.com/JetBrains/compose-jb/blob/master/VERSIONING.md#kotlin-compatibility"
internal object ComposeCompilerCompatability {
internal object ComposeCompilerCompatibility {
private val kotlinToCompiler = sortedMapOf(
"1.7.10" to "1.3.0",
"1.7.20" to "1.3.2.2",
@@ -13,7 +13,7 @@ internal object ComposeCompilerCompatability {
return kotlinToCompiler[kotlinVersion] ?: throw RuntimeException(
"This version of Compose Multiplatform doesn't support Kotlin " +
"$kotlinVersion. " +
"Please see $KOTLIN_COMPATABILITY_LINK " +
"Please see $KOTLIN_COMPATIBILITY_LINK " +
"to know the latest supported version of Kotlin."
)
}

View File

@@ -22,7 +22,7 @@ class ComposeCompilerKotlinSupportPlugin : KotlinCompilerPluginSupportPlugin {
composeCompilerArtifactProvider = ComposeCompilerArtifactProvider {
composeExt.kotlinCompilerPlugin.orNull ?:
ComposeCompilerCompatability.compilerVersionFor(target.getKotlinPluginVersion())
ComposeCompilerCompatibility.compilerVersionFor(target.getKotlinPluginVersion())
}
}
}

View File

@@ -142,7 +142,7 @@ class ComposePlugin : Plugin<Project> {
class CompilerDependencies(private val project: Project) {
fun forKotlin(version: String) = "org.jetbrains.compose.compiler:compiler:" +
ComposeCompilerCompatability.compilerVersionFor(version)
ComposeCompilerCompatibility.compilerVersionFor(version)
/**
* Compose Compiler that is chosen by the version of Kotlin applied to the Gradle project

View File

@@ -10,7 +10,7 @@ import org.jetbrains.compose.test.utils.TestProjects
import org.jetbrains.compose.test.utils.checks
import org.junit.jupiter.api.Test
class KotlinCompatabilityTest : GradlePluginTestBase() {
class KotlinCompatibilityTest : GradlePluginTestBase() {
@Test
fun testKotlinMpp_1_7_10() = testMpp("1.7.10")