update klock

This commit is contained in:
InsanusMokrassar 2024-01-12 14:45:14 +06:00
parent 9753cda961
commit a153bc7996
6 changed files with 10 additions and 2 deletions

View File

@ -2,6 +2,11 @@
## 2.2.6
**Since this version klock depdendency replaced with `com.soywiz.korge:korlibs-time`**
* `Version`:
* `Klock`: `5.3.0`
## 2.2.5
* `Versions`

View File

@ -71,7 +71,7 @@ kotlin {
api "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlin_coroutines_version"
api "org.jetbrains.kotlinx:kotlinx-serialization-core:$kotlin_serialization_version"
api "com.soywiz.korlibs.klock:klock:$klockVersion"
api "com.soywiz.korge:korlibs-time:$klockVersion"
}
}

View File

@ -15,7 +15,7 @@ kotlin_serialization_version=1.6.2
dokka_version=1.9.10
klockVersion=4.0.10
klockVersion=5.3.0
## Github reease

View File

@ -3,6 +3,7 @@ package dev.inmo.krontab
import android.content.Context
import androidx.work.*
import korlibs.time.DateTime
import korlibs.time.millisecondsLong
import java.util.concurrent.TimeUnit
/**

View File

@ -2,6 +2,7 @@ package dev.inmo.krontab
import korlibs.time.DateTime
import korlibs.time.DateTimeTz
import korlibs.time.millisecondsLong
import kotlinx.coroutines.delay
import kotlinx.coroutines.isActive
import kotlin.coroutines.coroutineContext

View File

@ -5,6 +5,7 @@ import korlibs.time.DateTimeTz
import korlibs.time.milliseconds
import dev.inmo.krontab.KronScheduler
import dev.inmo.krontab.next
import korlibs.time.millisecondsLong
import kotlinx.coroutines.currentCoroutineContext
import kotlinx.coroutines.delay
import kotlinx.coroutines.flow.Flow