mirror of
https://github.com/msfjarvis/compose-lobsters.git
synced 2024-06-03 04:18:58 +05:30
fix(build): add minify switch
This commit is contained in:
parent
17258ea4d7
commit
cb6e71c8bf
|
@ -43,7 +43,9 @@ class ApplicationPlugin : Plugin<Project> {
|
|||
)
|
||||
)
|
||||
}
|
||||
named("release") { isMinifyEnabled = true }
|
||||
named("release") {
|
||||
isMinifyEnabled = !project.providers.environmentVariable("DISABLE_MINIFY").isPresent
|
||||
}
|
||||
named("debug") {
|
||||
applicationIdSuffix = ".debug"
|
||||
versionNameSuffix = "-debug"
|
||||
|
|
Loading…
Reference in New Issue
Block a user