From 8e645453b140d12981fbdcc34766315fe5f5e992 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Fri, 2 May 2014 17:42:40 +0200 Subject: Speed up build: Upgrade to Gradle Android Plugin 0.10.0, Disable Lint --- OpenKeychain/build.gradle | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'OpenKeychain/build.gradle') 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 -- cgit v1.2.3