<@U0QBCLV62> How can i configure the below plugin...
# gradle
o
@bamboo How can i configure the below plugin, i am using latest Kotlin 1.1 Beta
Copy code
findbugs {
    	sourceSets = [sourceSets.main]
    	ignoreFailures = false
    	reportsDir = file( "$project.buildDir/findbugsReports" )
    	effort = "max"
    	reportLevel = "high"
	}
    
    tasks.withType(FindBugs) {
        reports {
            xml.enabled false
            html.enabled true
        }
    }
The commented code is something not working
Copy code
configure<FindBugsExtension> {
//        sourceSets = [sourceSets.main]
        isIgnoreFailures = true
        reportsDir = file("$project.buildDir/findbugsReports")
        effort = "max"
        reportLevel = "high"
    }

    tasks.withType(FindBugs::class.java) {
//        reports {
//            xml.enabled false
//            html.enabled true
//        }
    }