From 7e644ecab24e6ece33ea9529b694ba257ee140f7 Mon Sep 17 00:00:00 2001 From: IndusAryan Date: Mon, 19 Feb 2024 18:11:34 +0530 Subject: [PATCH] change commit hash path from project to builddir --- app/build.gradle.kts | 6 +++--- app/commit-hash.txt | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 app/commit-hash.txt diff --git a/app/build.gradle.kts b/app/build.gradle.kts index f979603b..18d412c4 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -63,7 +63,7 @@ android { versionCode = 63 versionName = "4.3.1" - val commitHashFile = layout.projectDirectory.file("commit-hash.txt") + val commitHashFile = layout.buildDirectory.file("commit-hash.txt") resValue("string", "app_version", "${defaultConfig.versionName}${versionNameSuffix ?: ""}") resValue("string", "commit_hash", file(commitHashFile).readText()) resValue("bool", "is_prerelease", "false") @@ -165,10 +165,10 @@ dependencies { // Android Core & Lifecycle implementation("androidx.core:core-ktx:1.12.0") implementation("androidx.appcompat:appcompat:1.6.1") - implementation("androidx.navigation:navigation-ui-ktx:2.7.6") + implementation("androidx.navigation:navigation-ui-ktx:2.7.7") implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.7.0") implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0") - implementation("androidx.navigation:navigation-fragment-ktx:2.7.6") + implementation("androidx.navigation:navigation-fragment-ktx:2.7.7") // Design & UI implementation("jp.wasabeef:glide-transformations:4.3.0") diff --git a/app/commit-hash.txt b/app/commit-hash.txt deleted file mode 100644 index f1002249..00000000 --- a/app/commit-hash.txt +++ /dev/null @@ -1 +0,0 @@ -2b7d102 \ No newline at end of file