summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--library/self.gradle4
-rw-r--r--tools/gradle/android.properties8
2 files changed, 4 insertions, 8 deletions
diff --git a/library/self.gradle b/library/self.gradle
index b41b696..9baa10e 100644
--- a/library/self.gradle
+++ b/library/self.gradle
@@ -11,6 +11,10 @@ task docs(dependsOn: 'javadocPlatformRelease')
android.lintOptions {
abortOnError true
+ htmlReport true
+ textOutput 'stderr'
+ textReport true
+ xmlReport false
}
// Run lint for all variants
diff --git a/tools/gradle/android.properties b/tools/gradle/android.properties
index dbe836f..fad7480 100644
--- a/tools/gradle/android.properties
+++ b/tools/gradle/android.properties
@@ -6,14 +6,6 @@ buildToolsVersion = '21.1.2'
compileOptions.sourceCompatibility JavaVersion.VERSION_1_7
compileOptions.targetCompatibility JavaVersion.VERSION_1_7
-// Redirect lint output so that failures appear in build server error logs
-// https://code.google.com/p/android/issues/detail?id=73282
-project.tasks.whenTaskAdded { task ->
- if (task.name =~ /^lintVital/) {
- task.logging.captureStandardOutput(LogLevel.ERROR)
- }
-}
-
// Don't build tests for android-library or android plugin
// unless explicitly enabled
buildTests = false