This commit is contained in:
lunaticbum
2024-11-06 16:47:13 +09:00
parent 398ba8be0a
commit 87ded0bda5
7 changed files with 194 additions and 119 deletions
+5
View File
@@ -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()