File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
src/commonMain/kotlin/compose/project/demo/composedemo Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,12 @@ kotlin {
5454 }
5555
5656 sourceSets {
57+ all {
58+ languageSettings {
59+ optIn(" kotlin.time.ExperimentalTime" )
60+ }
61+ }
62+
5763 val desktopMain by getting
5864
5965 androidMain.dependencies {
@@ -69,7 +75,7 @@ kotlin {
6975 implementation(compose.components.uiToolingPreview)
7076 implementation(libs.androidx.lifecycle.viewmodel)
7177 implementation(libs.androidx.lifecycle.runtimeCompose)
72- implementation(" org.jetbrains.kotlinx:kotlinx-datetime:0.6.2 " )
78+ implementation(" org.jetbrains.kotlinx:kotlinx-datetime:0.7.1 " )
7379 }
7480 commonTest.dependencies {
7581 implementation(libs.kotlin.test)
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import composedemo.composeapp.generated.resources.fr
3030import composedemo.composeapp.generated.resources.id
3131import composedemo.composeapp.generated.resources.jp
3232import composedemo.composeapp.generated.resources.mx
33- import kotlinx.datetime .Clock
33+ import kotlin.time .Clock
3434import kotlinx.datetime.LocalTime
3535import kotlinx.datetime.TimeZone
3636import kotlinx.datetime.toLocalDateTime
You can’t perform that action at this time.
0 commit comments