mirror of
https://github.com/InsanusMokrassar/krontab.git
synced 2024-11-25 19:48:49 +00:00
update klock
This commit is contained in:
parent
9753cda961
commit
a153bc7996
@ -2,6 +2,11 @@
|
|||||||
|
|
||||||
## 2.2.6
|
## 2.2.6
|
||||||
|
|
||||||
|
**Since this version klock depdendency replaced with `com.soywiz.korge:korlibs-time`**
|
||||||
|
|
||||||
|
* `Version`:
|
||||||
|
* `Klock`: `5.3.0`
|
||||||
|
|
||||||
## 2.2.5
|
## 2.2.5
|
||||||
|
|
||||||
* `Versions`
|
* `Versions`
|
||||||
|
@ -71,7 +71,7 @@ kotlin {
|
|||||||
api "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlin_coroutines_version"
|
api "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlin_coroutines_version"
|
||||||
api "org.jetbrains.kotlinx:kotlinx-serialization-core:$kotlin_serialization_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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ kotlin_serialization_version=1.6.2
|
|||||||
|
|
||||||
dokka_version=1.9.10
|
dokka_version=1.9.10
|
||||||
|
|
||||||
klockVersion=4.0.10
|
klockVersion=5.3.0
|
||||||
|
|
||||||
## Github reease
|
## Github reease
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@ package dev.inmo.krontab
|
|||||||
import android.content.Context
|
import android.content.Context
|
||||||
import androidx.work.*
|
import androidx.work.*
|
||||||
import korlibs.time.DateTime
|
import korlibs.time.DateTime
|
||||||
|
import korlibs.time.millisecondsLong
|
||||||
import java.util.concurrent.TimeUnit
|
import java.util.concurrent.TimeUnit
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -2,6 +2,7 @@ package dev.inmo.krontab
|
|||||||
|
|
||||||
import korlibs.time.DateTime
|
import korlibs.time.DateTime
|
||||||
import korlibs.time.DateTimeTz
|
import korlibs.time.DateTimeTz
|
||||||
|
import korlibs.time.millisecondsLong
|
||||||
import kotlinx.coroutines.delay
|
import kotlinx.coroutines.delay
|
||||||
import kotlinx.coroutines.isActive
|
import kotlinx.coroutines.isActive
|
||||||
import kotlin.coroutines.coroutineContext
|
import kotlin.coroutines.coroutineContext
|
||||||
|
@ -5,6 +5,7 @@ import korlibs.time.DateTimeTz
|
|||||||
import korlibs.time.milliseconds
|
import korlibs.time.milliseconds
|
||||||
import dev.inmo.krontab.KronScheduler
|
import dev.inmo.krontab.KronScheduler
|
||||||
import dev.inmo.krontab.next
|
import dev.inmo.krontab.next
|
||||||
|
import korlibs.time.millisecondsLong
|
||||||
import kotlinx.coroutines.currentCoroutineContext
|
import kotlinx.coroutines.currentCoroutineContext
|
||||||
import kotlinx.coroutines.delay
|
import kotlinx.coroutines.delay
|
||||||
import kotlinx.coroutines.flow.Flow
|
import kotlinx.coroutines.flow.Flow
|
||||||
|
Loading…
Reference in New Issue
Block a user