Add findbugs plugin.
Xavier Ducrohet [Wed, 6 Feb 2013 23:29:05 +0000 (15:29 -0800)]
Change-Id: Id262ee77473e6c39fd98e2b4975bd9430c9dd79a

build.gradle

index ba12c6e..4f7f342 100644 (file)
@@ -11,6 +11,7 @@ subprojects {
     project.buildDir = project.file("$project.parent.buildDir/../$project.name")
 
     apply plugin: 'idea'
+    apply plugin: 'findbugs'
 
     repositories {
         mavenCentral()
@@ -27,6 +28,12 @@ subprojects {
         }
     }
 
+     findbugs {
+        ignoreFailures = true
+        effort = "max"
+        reportLevel = "high"
+    }
+
     group = 'com.android.tools.build'
 }