mirror of
https://github.com/ouchadam/small-talk.git
synced 2024-12-22 16:01:17 +01:00
switching to lazy variant configuration
This commit is contained in:
parent
1efb1cf6c6
commit
aa813fe67a
@ -16,11 +16,6 @@ android {
|
||||
|
||||
if (isDebugBuild) {
|
||||
resConfigs "en", "xxhdpi"
|
||||
variantFilter { variant ->
|
||||
if (variant.buildType.name == "release") {
|
||||
setIgnore(true)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
resConfigs "en"
|
||||
}
|
||||
@ -67,6 +62,13 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
if (isDebugBuild) {
|
||||
androidComponents {
|
||||
def release = selector().withBuildType("release")
|
||||
beforeVariants(release) { it.enabled = false }
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
coreLibraryDesugaring Dependencies.google.jdkLibs
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user