spotbugs / spotbugs-gradle-plugin

https://plugins.gradle.org/plugin/com.github.spotbugs
Apache License 2.0
180 stars 68 forks source link

Help wanted 😊 spotbugs for build android apk #737

Open Saikatsaha1996 opened 2 years ago

Saikatsaha1996 commented 2 years ago

//apply plugin: 'findbugs' //task customFindbugs(type: FindBugs) { // ignoreFailures = true // effort = "max" // reportLevel = "low" // classes = files("$project.buildDir/intermediates/classes") // source = fileTree('src/main/java/waterhole/asm/eto') // classpath = files() // reports { // xml.enabled = true // xml.withMessages = true // html.enabled = !xml.isEnabled() // xml.destination "$project.rootDir.absolutePath/reports/findbugs_WaterholeEtoAsm.xml" // html.destination "$project.rootDir.absolutePath/reports/findbugs_WaterholeEtoAsm.ht> // } //} How can I replace code same as spotbugs.. help wanted

If anyone help it really very much helpful for me

KengoTODA commented 2 years ago

I'm not sure what the blocker on your side. You're going to upgrade from FindBugs plugin to SpotBugs plugin v5, then just replace FindBugs with SpotBugsTask, care breaking changes in 4.0.0 and 5.0.0, then it should be fine. Isn't it?

Saikatsaha1996 commented 2 years ago

I'm not sure what the blocker on your side. You're going to upgrade from FindBugs plugin to SpotBugs plugin v5, then just replace FindBugs with SpotBugsTask, care breaking changes in 4.0.0 and 5.0.0, then it should be fine. Isn't it?

actually i am not developer.. i just trying to build application from SDK.. but getting error for findbugs

Saikatsaha1996 commented 2 years ago

I'm not sure what the blocker on your side. You're going to upgrade from FindBugs plugin to SpotBugs plugin v5, then just replace FindBugs with SpotBugsTask, care breaking changes in 4.0.0 and 5.0.0, then it should be fine. Isn't it?

And findbugs not working get error not found that's why useing spotbugs