Fixed: Release-debug build does not apply Release build properties.

This commit is contained in:
acclorite 2024-08-09 22:34:14 +03:00
parent 6fdd5f1c10
commit c4ad8edf6f

View file

@ -36,11 +36,6 @@ android {
getByName("debug") { getByName("debug") {
applicationIdSuffix = ".debug" applicationIdSuffix = ".debug"
} }
create("release-debug") {
initWith(getByName("release"))
applicationIdSuffix = ".release.debug"
signingConfig = signingConfigs.getByName("debug")
}
getByName("release") { getByName("release") {
isMinifyEnabled = true isMinifyEnabled = true
@ -48,6 +43,12 @@ android {
proguardFiles("proguard-rules.pro") proguardFiles("proguard-rules.pro")
} }
create("release-debug") {
initWith(getByName("release"))
applicationIdSuffix = ".release.debug"
signingConfig = signingConfigs.getByName("debug")
}
} }
compileOptions { compileOptions {
sourceCompatibility = JavaVersion.VERSION_17 sourceCompatibility = JavaVersion.VERSION_17