File tree Expand file tree Collapse file tree
src/commonMain/kotlin/com/piasy/kmp/xlog Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11object Consts {
22 const val releaseGroup = " com.piasy"
33 const val releaseName = " kmp-xlog"
4- const val releaseVersion = " 1.4.2 "
4+ const val releaseVersion = " 1.4.3 "
55
66 val androidNS = " $releaseGroup .${releaseName.replace(' -' , ' .' )} "
77}
Original file line number Diff line number Diff line change @@ -6,12 +6,11 @@ compileSdk = "35"
66minSdk = " 21"
77targetSdk = " 35"
88agp = " 8.7.3"
9- kotlin = " 2.1.10 "
9+ kotlin = " 2.2.0 "
1010compose = " 1.7.8"
1111
1212[libraries ]
1313kotlin-stdlib-js = { module = " org.jetbrains.kotlin:kotlin-stdlib-js" , version.ref = " kotlin" }
14- kotlinx-datetime = " org.jetbrains.kotlinx:kotlinx-datetime:0.6.1"
1514
1615androidx-junit = " androidx.test.ext:junit:1.2.1"
1716androidx-runner = " androidx.test:runner:1.6.2"
Original file line number Diff line number Diff line change @@ -28,9 +28,12 @@ kotlin {
2828
2929 applyDefaultHierarchyTemplate()
3030 sourceSets {
31+ all {
32+ languageSettings.optIn(" kotlin.time.ExperimentalTime" )
33+ }
34+
3135 commonMain {
3236 dependencies {
33- implementation(libs.kotlinx.datetime)
3437 }
3538 }
3639 }
Original file line number Diff line number Diff line change 11package com.piasy.kmp.xlog
22
3- import kotlinx.datetime .Clock
3+ import kotlin.time .Clock
44import kotlin.math.min
55
66/* *
You can’t perform that action at this time.
0 commit comments