For release builds use last commit time as build time (#1873)

This commit is contained in:
AntsyLich
2025-03-19 05:16:03 +06:00
committed by GitHub
parent 4c6bc8e830
commit dae7d17966
2 changed files with 10 additions and 3 deletions

View File

@ -49,6 +49,8 @@ android {
isShrinkResources = Config.enableCodeShrink
proguardFiles("proguard-android-optimize.txt", "proguard-rules.pro")
buildConfigField("String", "BUILD_TIME", "\"${getBuildTime(useLastCommitTime = true)}\"")
}
val commonMatchingFallbacks = listOf(release.name)