diff options
author | H. Lehmann <ByteHamster@users.noreply.github.com> | 2018-05-14 20:56:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-14 20:56:20 +0200 |
commit | 48294a9f1827b49d128209e865477baba0113bed (patch) | |
tree | 1dcd3d37165ce4cd25498e133e490612d342b84e /app | |
parent | 04929cee4aedbb64852b81309282c817910de24f (diff) | |
parent | 0f1dfd05479fc4d52628cd6963b8849650632a57 (diff) | |
download | AntennaPod-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.gradle | 9 |
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" |