diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c773c885f5..646ca13027d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 0.19.6 + +* `Versions`: + * `Coroutines`: `1.6.4` -> `1.7.1` + * `Ktor`: `2.3.1` -> `2.3.2` + * `Compose`: `1.4.0` -> `1.4.1` + ## 0.19.5 * `Repos`: diff --git a/build.gradle b/build.gradle index a16dd8dd48e..1bd84cf99f1 100644 --- a/build.gradle +++ b/build.gradle @@ -17,6 +17,10 @@ buildscript { } } +plugins { + alias(libs.plugins.versions) +} + allprojects { repositories { mavenLocal() @@ -38,3 +42,4 @@ allprojects { apply from: "./extensions.gradle" apply from: "./github_release.gradle" +apply from: "./versions_plugin_setup.gradle" diff --git a/gradle.properties b/gradle.properties index e033b2b0042..f7bc64b2496 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,5 +14,5 @@ crypto_js_version=4.1.1 # Project data group=dev.inmo -version=0.19.5 -android_code_version=201 +version=0.19.6 +android_code_version=202 diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index c697d57c4a4..f0ab140bebe 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -2,18 +2,18 @@ kt = "1.8.20" kt-serialization = "1.5.1" -kt-coroutines = "1.6.4" +kt-coroutines = "1.7.1" kslog = "1.1.1" -jb-compose = "1.4.0" +jb-compose = "1.4.1" jb-exposed = "0.41.1" jb-dokka = "1.8.20" korlibs = "4.0.3" uuid = "0.7.1" -ktor = "2.3.1" +ktor = "2.3.2" gh-release = "2.4.1" @@ -24,6 +24,8 @@ okio = "3.3.0" ksp = "1.8.20-1.0.11" kotlin-poet = "1.14.2" +versions = "0.47.0" + android-gradle = "7.4.2" dexcount = "4.0.0" @@ -109,3 +111,5 @@ buildscript-android-dexcount = { module = "com.getkeepsafe.dexcount:dexcount-gra [plugins] jb-compose = { id = "org.jetbrains.compose", version.ref = "jb-compose" } + +versions = { id = "com.github.ben-manes.versions", version.ref = "versions" } diff --git a/versions_plugin_setup.gradle b/versions_plugin_setup.gradle new file mode 100644 index 00000000000..2e971237cae --- /dev/null +++ b/versions_plugin_setup.gradle @@ -0,0 +1,11 @@ +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) + } +}