From 3553306a50b652d73d42507b1c948e9d62b40915 Mon Sep 17 00:00:00 2001 From: NkBe Date: Fri, 6 Mar 2026 23:33:35 +0800 Subject: [PATCH] Remove artificial +4200 offset from CommitCount Synchronize build product version number --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 841dc99c9..569a776e5 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -65,7 +65,7 @@ val versionCodeProvider by extra(providers.of(GitCommitCountValueSource::class.j val versionNameProvider by extra(providers.of(GitLatestTagValueSource::class.java) {}) val repo = jgit.repo() -val commitCount = (repo?.commitCount("refs/remotes/origin/master") ?: 1) + 4200 +val commitCount = (repo?.commitCount("refs/remotes/origin/master") ?: 1) val latestTag = repo?.latestTag?.removePrefix("v") ?: "1.0" val injectedPackageName by extra("com.android.shell")