mirror of
https://github.com/fcitx5-android/fcitx5-android.git
synced 2026-08-02 20:16:06 +08:00
reorder buildTypes block
This commit is contained in:
parent
96c1e7acba
commit
617f04521d
@ -39,18 +39,17 @@ android {
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
resValue("mipmap", "app_icon", "@mipmap/ic_launcher_debug")
|
||||
resValue("mipmap", "app_icon_round", "@mipmap/ic_launcher_round_debug")
|
||||
resValue("string", "app_name", "@string/app_name_debug")
|
||||
}
|
||||
release {
|
||||
resValue("mipmap", "app_icon", "@mipmap/ic_launcher")
|
||||
resValue("mipmap", "app_icon_round", "@mipmap/ic_launcher_round")
|
||||
resValue("string", "app_name", "@string/app_name_release")
|
||||
|
||||
proguardFile("proguard-rules.pro")
|
||||
}
|
||||
debug {
|
||||
resValue("mipmap", "app_icon", "@mipmap/ic_launcher_debug")
|
||||
resValue("mipmap", "app_icon_round", "@mipmap/ic_launcher_round_debug")
|
||||
resValue("string", "app_name", "@string/app_name_debug")
|
||||
}
|
||||
}
|
||||
|
||||
androidResources {
|
||||
|
||||
@ -40,20 +40,20 @@ class AndroidAppConventionPlugin : AndroidBaseConventionPlugin() {
|
||||
versionName = target.buildVersionName
|
||||
}
|
||||
buildTypes {
|
||||
all {
|
||||
// remove META-INF/version-control-info.textproto
|
||||
@Suppress("UnstableApiUsage")
|
||||
vcsInfo.include = false
|
||||
}
|
||||
debug {
|
||||
applicationIdSuffix = ".debug"
|
||||
}
|
||||
release {
|
||||
isMinifyEnabled = true
|
||||
isShrinkResources = true
|
||||
signingConfig = signingConfigs.fromProjectEnv(target)
|
||||
proguardFile(getDefaultProguardFile("proguard-android-optimize.txt"))
|
||||
}
|
||||
debug {
|
||||
applicationIdSuffix = ".debug"
|
||||
}
|
||||
all {
|
||||
// remove META-INF/version-control-info.textproto
|
||||
@Suppress("UnstableApiUsage")
|
||||
vcsInfo.include = false
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
isCoreLibraryDesugaringEnabled = true
|
||||
|
||||
@ -28,14 +28,13 @@ android {
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
resValue("string", "app_name", "@string/app_name_debug")
|
||||
}
|
||||
release {
|
||||
resValue("string", "app_name", "@string/app_name_release")
|
||||
|
||||
proguardFile("proguard-rules.pro")
|
||||
}
|
||||
debug {
|
||||
resValue("string", "app_name", "@string/app_name_debug")
|
||||
}
|
||||
}
|
||||
|
||||
packaging {
|
||||
|
||||
@ -28,14 +28,13 @@ android {
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
resValue("string", "app_name", "@string/app_name_debug")
|
||||
}
|
||||
release {
|
||||
resValue("string", "app_name", "@string/app_name_release")
|
||||
|
||||
proguardFile("proguard-rules.pro")
|
||||
}
|
||||
debug {
|
||||
resValue("string", "app_name", "@string/app_name_debug")
|
||||
}
|
||||
}
|
||||
|
||||
packaging {
|
||||
|
||||
@ -21,14 +21,13 @@ android {
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
resValue("string", "app_name", "@string/app_name_debug")
|
||||
}
|
||||
release {
|
||||
resValue("string", "app_name", "@string/app_name_release")
|
||||
|
||||
proguardFile("proguard-rules.pro")
|
||||
}
|
||||
debug {
|
||||
resValue("string", "app_name", "@string/app_name_debug")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -28,14 +28,13 @@ android {
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
resValue("string", "app_name", "@string/app_name_debug")
|
||||
}
|
||||
release {
|
||||
resValue("string", "app_name", "@string/app_name_release")
|
||||
|
||||
proguardFile("proguard-rules.pro")
|
||||
}
|
||||
debug {
|
||||
resValue("string", "app_name", "@string/app_name_debug")
|
||||
}
|
||||
}
|
||||
|
||||
packaging {
|
||||
|
||||
@ -29,14 +29,13 @@ android {
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
resValue("string", "app_name", "@string/app_name_debug")
|
||||
}
|
||||
release {
|
||||
resValue("string", "app_name", "@string/app_name_release")
|
||||
|
||||
proguardFile("proguard-rules.pro")
|
||||
}
|
||||
debug {
|
||||
resValue("string", "app_name", "@string/app_name_debug")
|
||||
}
|
||||
}
|
||||
|
||||
packaging {
|
||||
|
||||
@ -28,14 +28,13 @@ android {
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
resValue("string", "app_name", "@string/app_name_debug")
|
||||
}
|
||||
release {
|
||||
resValue("string", "app_name", "@string/app_name_release")
|
||||
|
||||
proguardFile("proguard-rules.pro")
|
||||
}
|
||||
debug {
|
||||
resValue("string", "app_name", "@string/app_name_debug")
|
||||
}
|
||||
}
|
||||
|
||||
packaging {
|
||||
|
||||
@ -28,14 +28,13 @@ android {
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
resValue("string", "app_name", "@string/app_name_debug")
|
||||
}
|
||||
release {
|
||||
resValue("string", "app_name", "@string/app_name_release")
|
||||
|
||||
proguardFile("proguard-rules.pro")
|
||||
}
|
||||
debug {
|
||||
resValue("string", "app_name", "@string/app_name_debug")
|
||||
}
|
||||
}
|
||||
|
||||
packaging {
|
||||
|
||||
@ -28,14 +28,13 @@ android {
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
resValue("string", "app_name", "@string/app_name_debug")
|
||||
}
|
||||
release {
|
||||
resValue("string", "app_name", "@string/app_name_release")
|
||||
|
||||
proguardFile("proguard-rules.pro")
|
||||
}
|
||||
debug {
|
||||
resValue("string", "app_name", "@string/app_name_debug")
|
||||
}
|
||||
}
|
||||
|
||||
packaging {
|
||||
|
||||
@ -28,14 +28,13 @@ android {
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
resValue("string", "app_name", "@string/app_name_debug")
|
||||
}
|
||||
release {
|
||||
resValue("string", "app_name", "@string/app_name_release")
|
||||
|
||||
proguardFile("proguard-rules.pro")
|
||||
}
|
||||
debug {
|
||||
resValue("string", "app_name", "@string/app_name_debug")
|
||||
}
|
||||
}
|
||||
|
||||
packaging {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user