diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-05-02 17:42:40 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-05-02 17:42:40 +0200 |
commit | 8e645453b140d12981fbdcc34766315fe5f5e992 (patch) | |
tree | e558f58a4e23f54ddfe031d684c04b3fbfd25b0a /OpenKeychain/build.gradle | |
parent | 4b9607eda04afaa22a3bd4577b149159ec21bf22 (diff) | |
download | open-keychain-8e645453b140d12981fbdcc34766315fe5f5e992.tar.gz open-keychain-8e645453b140d12981fbdcc34766315fe5f5e992.tar.bz2 open-keychain-8e645453b140d12981fbdcc34766315fe5f5e992.zip |
Speed up build: Upgrade to Gradle Android Plugin 0.10.0, Disable Lint
Diffstat (limited to 'OpenKeychain/build.gradle')
-rw-r--r-- | OpenKeychain/build.gradle | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/OpenKeychain/build.gradle b/OpenKeychain/build.gradle index 32ce30ea2..393a18d08 100644 --- a/OpenKeychain/build.gradle +++ b/OpenKeychain/build.gradle @@ -80,9 +80,12 @@ android { buildTypes.release.signingConfig = null } - // Do not abort build if lint finds errors + // NOTE: Lint is disabled because it slows down builds, + // to enable it comment out the code at the bottom of this build.gradle lintOptions { + // Do not abort build if lint finds errors abortOnError false + checkAllWarnings true htmlReport true htmlOutput file("lint-report.html") @@ -103,4 +106,12 @@ task localTest(type: Test, dependsOn: assemble) { classpath = sourceSets.testLocal.runtimeClasspath } +// NOTE: This disables Lint! +tasks.whenTaskAdded { task -> + if (task.name.equals("lint")) { + task.enabled = false + } +} + +// NOTE: tests disabled! //check.dependsOn localTest |