kotlin = "2.2.0"

This commit is contained in:
Kyant0 committed 2025-06-24 10:28:16 +08:00
1 parent 6082a468f6
commit ed19f77130
8 files changed
+11 -4

No files matched your search

+5
View File
@@ -48,6 +48,11 @@ android {
apiVersion = KotlinVersion.KOTLIN_2_3
languageVersion = KotlinVersion.KOTLIN_2_3
jvmTarget = JvmTarget.JVM_21
freeCompilerArgs.addAll(
"-jvm-default=no-compatibility",
"-Xcontext-parameters",
"-Xcontext-sensetive-resolution",
)
}
}
buildFeatures {
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -38,7 +38,6 @@ import androidx.compose.ui.layout.ContentScale
import androidx.compose.ui.layout.boundsInParent
import androidx.compose.ui.layout.layout
import androidx.compose.ui.layout.onGloballyPositioned
import androidx.compose.ui.platform.LocalLayoutDirection
import androidx.compose.ui.platform.LocalWindowInfo
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.unit.Constraints
@@ -57,8 +56,6 @@ import org.intellij.lang.annotations.Language
@Composable
fun Preview() {
val layoutDirection = LocalLayoutDirection.current
val state = remember { PreviewState() }
val graphicsLayer = rememberGraphicsLayer()
+1 -1
View File
@@ -1,6 +1,6 @@
[versions]
agp = "8.10.1"
kotlin = "2.2.0-RC3"
kotlin = "2.2.0"
core = "1.17.0-alpha01"
lifecycle = "2.9.1"
+5
View File
@@ -32,6 +32,11 @@ android {
apiVersion = KotlinVersion.KOTLIN_2_3
languageVersion = KotlinVersion.KOTLIN_2_3
jvmTarget = JvmTarget.JVM_21
freeCompilerArgs.addAll(
"-jvm-default=no-compatibility",
"-Xcontext-parameters",
"-Xcontext-sensetive-resolution",
)
}
}
buildFeatures {