Loading build.gradle +22 −22 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ buildscript { apply plugin: 'com.android.library' apply plugin: 'com.github.dcendents.android-maven' apply plugin: 'findbugs' //apply plugin: 'findbugs' repositories { google() Loading @@ -25,8 +25,8 @@ dependencies { annotationProcessor 'org.parceler:parceler:1.1.12' implementation "com.android.support:support-annotations:28.0.0" findbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.8.0' findbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.4.3' //findbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.8.0' //findbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.4.3' } android { Loading Loading @@ -67,24 +67,24 @@ android { targetSdkVersion 25 } task findbugs(type: FindBugs) { ignoreFailures = false effort = "max" reportLevel = "medium" classes = fileTree("$project.buildDir/intermediates/javac/debug/compileDebugJavaWithJavac/classes/") excludeFilter = file("${project.rootDir}/scripts/analysis/findbugs-filter.xml") source = fileTree('src/main/java') pluginClasspath = project.configurations.findbugsPlugins classpath = files() include '**/*.java' exclude '**/gen/**' //task findbugs(type: FindBugs) { // ignoreFailures = false // effort = "max" // reportLevel = "medium" // classes = fileTree("$project.buildDir/intermediates/javac/debug/compileDebugJavaWithJavac/classes/") // excludeFilter = file("${project.rootDir}/scripts/analysis/findbugs-filter.xml") // source = fileTree('src/main/java') // pluginClasspath = project.configurations.findbugsPlugins // classpath = files() // include '**/*.java' // exclude '**/gen/**' reports { xml.enabled = false html.enabled = true html { destination = file("$project.buildDir/reports/findbugs/findbugs.html") } } } // reports { // xml.enabled = false // html.enabled = true // html { // destination = file("$project.buildDir/reports/findbugs/findbugs.html") // } // } //} } Loading
build.gradle +22 −22 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ buildscript { apply plugin: 'com.android.library' apply plugin: 'com.github.dcendents.android-maven' apply plugin: 'findbugs' //apply plugin: 'findbugs' repositories { google() Loading @@ -25,8 +25,8 @@ dependencies { annotationProcessor 'org.parceler:parceler:1.1.12' implementation "com.android.support:support-annotations:28.0.0" findbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.8.0' findbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.4.3' //findbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.8.0' //findbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.4.3' } android { Loading Loading @@ -67,24 +67,24 @@ android { targetSdkVersion 25 } task findbugs(type: FindBugs) { ignoreFailures = false effort = "max" reportLevel = "medium" classes = fileTree("$project.buildDir/intermediates/javac/debug/compileDebugJavaWithJavac/classes/") excludeFilter = file("${project.rootDir}/scripts/analysis/findbugs-filter.xml") source = fileTree('src/main/java') pluginClasspath = project.configurations.findbugsPlugins classpath = files() include '**/*.java' exclude '**/gen/**' //task findbugs(type: FindBugs) { // ignoreFailures = false // effort = "max" // reportLevel = "medium" // classes = fileTree("$project.buildDir/intermediates/javac/debug/compileDebugJavaWithJavac/classes/") // excludeFilter = file("${project.rootDir}/scripts/analysis/findbugs-filter.xml") // source = fileTree('src/main/java') // pluginClasspath = project.configurations.findbugsPlugins // classpath = files() // include '**/*.java' // exclude '**/gen/**' reports { xml.enabled = false html.enabled = true html { destination = file("$project.buildDir/reports/findbugs/findbugs.html") } } } // reports { // xml.enabled = false // html.enabled = true // html { // destination = file("$project.buildDir/reports/findbugs/findbugs.html") // } // } //} }