Disable isDebuggable in debug builds

I don't know if there are any side-effects, but this is the only way
to make Jetpack Compose not unusably laggy in debug builds that I found
This commit is contained in:
MM20 2022-02-14 14:36:28 +01:00
parent 0532b65cea
commit b997a7cb62
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -43,6 +43,9 @@ android {
}
debug {
applicationIdSuffix = ".debug"
// Jetpack Compose is unusably laggy in debug builds, it's ridiculous
// This somehow seems to resolve that issue.
isDebuggable = false
}
}
configurations.all {