https://kotlinlang.org logo
#compose
Title
# compose
r

Rafal

03/12/2024, 10:12 AM
My simplified gradle setup looks like this:
Copy code
release {
    isMinifyEnabled = true
    isShrinkResources = true
    proguardFiles(getDefaultProguardFile("proguard-android.txt"), "<http://proguard-rules.pro|proguard-rules.pro>")
    signingConfig = signingConfigs["release"]
}
create("qa") {
    initWith(buildTypes["release"])
    proguardFiles(getDefaultProguardFile("proguard-android.txt"), "<http://proguard-test-rules.pro|proguard-test-rules.pro>")
    matchingFallbacks += listOf("release")
}
According to the compose performance guidelines I should try to run the app in the release mode. Will the
qa
build type work the same as the
release
or will it work only on the `release`build type?
b

Ben Trengrove [G]

03/13/2024, 4:56 AM
Yep, QA is fine there. The key config is
debuggable = false
&
isMinifyEnabled = true
r

Rafal

03/13/2024, 9:15 AM
great, thanks! 🙇
2 Views