From 647a59f20dedc800368513efde417241ee367bc3 Mon Sep 17 00:00:00 2001 From: longnghia <41385034+longnghia@users.noreply.github.com> Date: Mon, 2 Dec 2024 11:05:51 +0700 Subject: [PATCH] Revert "feat: auto versionName" This reverts commit e91656a52293a34fcb85da673a7e74cdbb09b345. --- app/build.gradle.kts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 076f293..2a2e24f 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -8,16 +8,12 @@ android { namespace = "com.paulcoding.hviewer" compileSdk = 35 - val latestTag = providers.exec { - commandLine = "git describe --tags --abbrev=0".split(' ') - }.standardOutput.asText.get().trim().replaceFirst("v", "") - defaultConfig { applicationId = "com.paulcoding.hviewer" minSdk = 26 targetSdk = 34 versionCode = 1 - versionName = latestTag + versionName = "1.2.0" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" }