mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2024-12-25 08:21:59 +01:00
Build tweak: Speed up debug build by making dexcount optional in debug
build, configured with a new gradle property enableDexcountInDebug.
This commit is contained in:
parent
9d3d92cc9d
commit
2e38cf3a40
@ -84,6 +84,13 @@ android {
|
|||||||
resValue "string", "provider_authority", "de.danoeh.antennapod.debug.provider"
|
resValue "string", "provider_authority", "de.danoeh.antennapod.debug.provider"
|
||||||
buildConfigField STRING, FLATTR_APP_KEY, mFlattrAppKey
|
buildConfigField STRING, FLATTR_APP_KEY, mFlattrAppKey
|
||||||
buildConfigField STRING, FLATTR_APP_SECRET, mFlattrAppSecret
|
buildConfigField STRING, FLATTR_APP_SECRET, mFlattrAppSecret
|
||||||
|
dexcount {
|
||||||
|
// Optionally, can disable Dexcount by setting the property
|
||||||
|
// in gradle.properties file or via -P command line argument.
|
||||||
|
if (project.hasProperty("enableDexcountInDebug")) {
|
||||||
|
runOnEachPackage enableDexcountInDebug.toBoolean()
|
||||||
|
} // else default to true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
release {
|
release {
|
||||||
resValue "string", "provider_authority", "de.danoeh.antennapod.provider"
|
resValue "string", "provider_authority", "de.danoeh.antennapod.provider"
|
||||||
|
Loading…
Reference in New Issue
Block a user