...
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import org.jetbrains.kotlin.fir.scopes.debugCollectOverrides
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Date
|
||||
|
||||
plugins {
|
||||
id ("com.android.application")
|
||||
@@ -25,12 +27,14 @@ android {
|
||||
isDebuggable = true
|
||||
applicationIdSuffix = ".debug"
|
||||
versionNameSuffix = "-debug"
|
||||
buildConfigField("Long","BuildDateTime", getDateTime().toString().plus("L"))
|
||||
resValue ("string", "app_name", "Bums Launcher Debug")
|
||||
}
|
||||
|
||||
getByName("release") {
|
||||
isMinifyEnabled = true
|
||||
isShrinkResources = true
|
||||
buildConfigField("Long","BuildDateTime", getDateTime().toString().plus("L"))
|
||||
proguardFiles (getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
||||
resValue ("string", "app_name", "Bums Launcher")
|
||||
}
|
||||
@@ -103,3 +107,4 @@ dependencies {
|
||||
// implementation ("androidx.window:window:1.0.0")
|
||||
// implementation("io.github.vaneproject:hanguleditor:1.0.0")
|
||||
}
|
||||
fun getDateTime() = SimpleDateFormat("yyyyMMddHHmm").format(Date()).toLong()
|
||||
|
||||
Reference in New Issue
Block a user