From a74bdd4025191c77ab48eb53fe8fae411c8db07d Mon Sep 17 00:00:00 2001 From: "forkline-dev[bot]" Date: Mon, 21 Sep 2026 05:22:16 +0000 Subject: [PATCH 1/2] chore: start 1.23.0-SNAPSHOT --- app/version.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/version.properties b/app/version.properties index 987ace814..618570160 100644 --- a/app/version.properties +++ b/app/version.properties @@ -1,5 +1,5 @@ # # This file was automatically generated by 'versioning-plugin'. DO NOT EDIT MANUALLY. # -versioning-plugin.versionCode=12200 -versioning-plugin.versionName=1.22.0 +versioning-plugin.versionCode=12300 +versioning-plugin.versionName=1.23.0-SNAPSHOT From df28be4e91aae41f999fee39b6d4b689b1f1a050 Mon Sep 17 00:00:00 2001 From: "forkline-dev[bot]" Date: Mon, 21 Sep 2026 05:27:36 +0000 Subject: [PATCH 2/2] fix: correct requireNotNull ordering in VersioningPlugin requireNotNull was wrapping .toInt() (non-nullable Int) instead of getProperty() (nullable String), making the error message unreachable. Move .toInt() outside requireNotNull so the null check works as intended. --- .../passwordstore/gradle/versioning/VersioningPlugin.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build-logic/src/main/kotlin/app/passwordstore/gradle/versioning/VersioningPlugin.kt b/build-logic/src/main/kotlin/app/passwordstore/gradle/versioning/VersioningPlugin.kt index d2797a75c..0a1331818 100644 --- a/build-logic/src/main/kotlin/app/passwordstore/gradle/versioning/VersioningPlugin.kt +++ b/build-logic/src/main/kotlin/app/passwordstore/gradle/versioning/VersioningPlugin.kt @@ -40,9 +40,10 @@ class VersioningPlugin : Plugin { "version.properties must contain a '$VERSIONING_PROP_VERSION_NAME' property" } val versionCode = - requireNotNull(versionProps.getProperty(VERSIONING_PROP_VERSION_CODE).toInt()) { - "version.properties must contain a '$VERSIONING_PROP_VERSION_CODE' property" - } + requireNotNull(versionProps.getProperty(VERSIONING_PROP_VERSION_CODE)) { + "version.properties must contain a '$VERSIONING_PROP_VERSION_CODE' property" + } + .toInt() project.plugins.withType { androidAppPluginApplied.set(true) extensions.configure {