增加编译时间字段

This commit is contained in:
HapeLee
2025-09-05 03:38:27 +08:00
parent 158812fd65
commit f89f6a0fd8
+3
View File
@@ -68,6 +68,9 @@ android {
]
}
}
def buildTime = new Date().format("yyyy-MM-dd HH:mm:ss", TimeZone.getTimeZone("UTC"))
buildConfigField "String", "BUILD_TIME", "\"${buildTime}\""
}
buildFeatures {