summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorH. Lehmann <ByteHamster@users.noreply.github.com>2018-05-14 20:56:20 +0200
committerGitHub <noreply@github.com>2018-05-14 20:56:20 +0200
commit48294a9f1827b49d128209e865477baba0113bed (patch)
tree1dcd3d37165ce4cd25498e133e490612d342b84e /app
parent04929cee4aedbb64852b81309282c817910de24f (diff)
parent0f1dfd05479fc4d52628cd6963b8849650632a57 (diff)
downloadAntennaPod-48294a9f1827b49d128209e865477baba0113bed.zip
Merge pull request #2669 from orionlee/build_tweak_dexcount_optional_in_debug
Build tweak: Speed up debug build by making dexcount optional in debug build
Diffstat (limited to 'app')
-rw-r--r--app/build.gradle9
1 files changed, 8 insertions, 1 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 1e8d0c8f5..62c606e0b 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -83,7 +83,14 @@ android {
applicationIdSuffix ".debug"
resValue "string", "provider_authority", "de.danoeh.antennapod.debug.provider"
buildConfigField STRING, FLATTR_APP_KEY, mFlattrAppKey
- buildConfigField STRING, FLATTR_APP_SECRET, mFlattrAppSecret
+ buildConfigField STRING, FLATTR_APP_SECRET, mFlattrAppSecret
+ dexcount {
+ if (project.hasProperty("enableDexcountInDebug")) {
+ runOnEachPackage enableDexcountInDebug.toBoolean()
+ } else { // default to not running dexcount
+ runOnEachPackage false
+ }
+ }
}
release {
resValue "string", "provider_authority", "de.danoeh.antennapod.provider"