Merge pull request #17 from InsanusMokrassar/0.6.0

0.6.0
This commit is contained in:
InsanusMokrassar 2021-05-25 15:48:02 +06:00 committed by GitHub
commit 1f0387363d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 13 deletions

View File

@ -1,5 +1,12 @@
# Changelog
## 0.6.0
* Versions
* `Kotlin`: `1.4.32` -> `1.5.10`
* `Coroutines`: `1.4.3` -> `1.5.0`
* `Klock`: `2.0.7` -> `2.1.0`
## 0.5.2
* Versions

View File

@ -10,7 +10,7 @@ buildscript {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.github.breadmoirai:github-release:$github_release_plugin_version"
classpath "com.getkeepsafe.dexcount:dexcount-gradle-plugin:$dexcount_version"
classpath 'com.android.tools.build:gradle:4.0.2'
classpath 'com.android.tools.build:gradle:4.1.3'
}
}
@ -125,10 +125,6 @@ android {
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
test {

View File

@ -8,12 +8,12 @@ android.useAndroidX=true
android.enableJetifier=false
kotlin_version=1.4.32
kotlin_coroutines_version=1.4.3
kotlin_version=1.5.10
kotlin_coroutines_version=1.5.0
dokka_version=1.4.30
dokka_version=1.4.32
klockVersion=2.0.7
klockVersion=2.1.0
## Github reease
@ -23,7 +23,7 @@ github_release_plugin_version=2.2.12
android_minSdkVersion=19
android_compileSdkVersion=30
android_buildToolsVersion=30.0.2
android_buildToolsVersion=30.0.3
dexcount_version=2.0.0
junit_version=4.12
test_ext_junit_version=1.1.2
@ -33,6 +33,6 @@ androidx_work_version=2.5.0
## Common
version=0.5.2
android_code_version=3
version=0.6.0
android_code_version=4

View File

@ -68,7 +68,7 @@ class StringParseTest {
runTest {
val ranges = rangesEnds.map { it.first .. it.second }.flatten().toMutableList()
val expectedCollects = rangesEnds.sumBy { it.second - it.first + 1 }
val expectedCollects = rangesEnds.sumOf { it.second - it.first + 1 }
var collected = 0
flow.takeWhile { ranges.isNotEmpty() }.collect {