mirror of
https://github.com/aljazceru/lnd-manageJ.git
synced 2026-01-29 02:44:26 +01:00
define spotbugs outputs for all tasks
this fixes the cacheability issue with version 5+
This commit is contained in:
@@ -6,12 +6,12 @@ plugins {
|
||||
id 'lnd-manageJ.tests'
|
||||
id 'lnd-manageJ.mutationtests'
|
||||
id 'lnd-manageJ.integration-tests'
|
||||
id 'lnd-manageJ.spotbugs'
|
||||
id 'lnd-manageJ.pmd'
|
||||
id 'lnd-manageJ.jacoco'
|
||||
id 'org.springframework.boot'
|
||||
id 'io.spring.dependency-management'
|
||||
id 'java-test-fixtures'
|
||||
id 'lnd-manageJ.spotbugs'
|
||||
}
|
||||
|
||||
java {
|
||||
|
||||
@@ -2,14 +2,15 @@ plugins {
|
||||
id 'com.github.spotbugs'
|
||||
}
|
||||
|
||||
spotbugsMain.reports.configure {
|
||||
xml.enabled = false
|
||||
html.enabled = true
|
||||
}
|
||||
spotbugsTest.reports.configure {
|
||||
xml.enabled = false
|
||||
html.enabled = true
|
||||
tasks.withType(com.github.spotbugs.snom.SpotBugsTask).forEach { spotbugsTask ->
|
||||
spotbugsTask.configure {
|
||||
reports.configure {
|
||||
xml.enabled = false
|
||||
html.enabled = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
spotbugs {
|
||||
excludeFilter = file("${rootDir}/config/spotbugs-exclude.xml")
|
||||
onlyAnalyze = ['de.cotto.*']
|
||||
|
||||
Reference in New Issue
Block a user