Skip to content

Commit

Permalink
update microutils
Browse files Browse the repository at this point in the history
  • Loading branch information
InsanusMokrassar committed Jun 21, 2023
1 parent 6f9cc1c commit f72ada1
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* `Versions`:
* `Kotlin`: `1.8.20`
* `Serialization`: `1.5.1`
* `MicroUtils`: `0.19.4`
* `MicroUtils`: `0.19.5`
* `UUID`: `0.7.1`
* `MVVM`:
* Add `NavigationMVVMSingleActivity` as abstract class for single-activity oriented way of navigation
Expand Down
13 changes: 13 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,19 @@ buildscript {

plugins {
alias(libs.plugins.kotlin.dokka)
alias(libs.plugins.versions)
}

def isNonStable = { String version ->
def stableKeyword = ['RELEASE', 'FINAL', 'GA'].any { it -> version.toUpperCase().contains(it) }
def regex = /^[0-9,.v-]+(-r)?$/
return !stableKeyword && !(version ==~ regex)
}

tasks.named("dependencyUpdates").configure {
rejectVersionIf {
isNonStable(it.candidate.version)
}
}

allprojects {
Expand Down
12 changes: 8 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kotlin-coroutines = "1.6.4"
kotlin-serialization = "1.5.1"
dokka = "1.8.20"

microutils = "0.19.4"
microutils = "0.19.5"
kslog = "1.1.1"
uuid = "0.7.1"

Expand All @@ -14,8 +14,8 @@ compose = "1.4.0"

dexcount = "4.0.0"
junit_version = "4.12"
test_ext_junit_version = "1.1.3"
espresso_core = "3.4.0"
test_ext_junit_version = "1.1.5"
espresso_core = "3.5.1"

android-gradle-plugin = "7.4.2"
android-minSdk = "21"
Expand All @@ -25,10 +25,12 @@ android-buildTools = "33.0.2"
android-core-ktx = "1.10.1"
android-appcompat = "1.6.1"
android-material = "1.6.1"
android-compose-material3 = "1.0.1"
android-compose-material3 = "1.1.0"

github-release = "2.4.1"

versions = "0.47.0"

[libraries]

kotlin = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" }
Expand Down Expand Up @@ -76,3 +78,5 @@ kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
kotlin-dokka = { id = "org.jetbrains.dokka", version.ref = "dokka" }
compose = { id = "org.jetbrains.compose", version.ref = "compose" }

versions = { id = "com.github.ben-manes.versions", version.ref = "versions" }

0 comments on commit f72ada1

Please sign in to comment.