version 0.2.2

This commit is contained in:
InsanusMokrassar 2020-03-22 18:35:06 +06:00
parent 75f6e06552
commit 85cb87c459
5 changed files with 15 additions and 7 deletions

View File

@ -6,5 +6,5 @@ dist: trusty
jdk: oraclejdk8
script:
- ./gradlew build -s
- ./gradlew build allTests -s

View File

@ -1,12 +1,19 @@
# Changelog
# 0.2.0
## 0.2.0
* Updated way of publishing (for more info look at the [git](https://git.insanusmokrassar.com/InsanusMokrassar/krontab))
* Updates in libraries:
* Coroutines `1.3.2` -> `1.3.3`
* Klock `1.7.3` -> `1.8.6`
## 0.2.1
### 0.2.2
* Updates in libraries:
* Kotlin `1.3.61` -> `1.3.70`
* Coroutines `1.3.3` -> `1.3.5`
* Klock `1.8.6` -> `1.10.0`
### 0.2.1
* Added support of flows: now any `KronScheduler` can be convert to `Flow<DateTime>` using `asFlow` extension

View File

@ -17,7 +17,7 @@ plugins {
id "org.jetbrains.kotlin.plugin.serialization" version "$kotlin_version"
}
project.version = "0.2.1"
project.version = "0.2.2"
project.group = "com.insanusmokrassar"
apply from: "publish.gradle"

View File

@ -1,9 +1,9 @@
kotlin.code.style=official
kotlin_version=1.3.61
kotlin_coroutines_version=1.3.3
kotlin_version=1.3.70
kotlin_coroutines_version=1.3.5
gradle_bintray_plugin_version=1.8.4
klockVersion=1.8.6
klockVersion=1.10.0
kotlin.incremental.multiplatform=true

View File

@ -21,6 +21,7 @@ sealed class TimeBuilder (
result = (result ?: emptySet()) + value.clamp(restrictionsRange)
}
@Suppress("NOTHING_TO_INLINE")
inline fun from(value: Int) = value
infix fun Int.every(delay: Int): Array<Int> {