Only analyze the main source set
This commit is contained in:
parent
bfd04a0686
commit
6fd694af7e
@ -3,6 +3,7 @@ apply plugin: 'checkstyle'
|
||||
checkstyle {
|
||||
ignoreFailures = true
|
||||
configFile = new File(rootProject.projectDir, 'sun_checks.xml')
|
||||
sourceSets = [sourceSets.main]
|
||||
}
|
||||
|
||||
tasks.withType(Checkstyle) {
|
||||
@ -10,10 +11,4 @@ tasks.withType(Checkstyle) {
|
||||
xml.enabled = false
|
||||
html.enabled = true
|
||||
}
|
||||
}
|
||||
|
||||
task checkstyle {
|
||||
group = 'Verification'
|
||||
description = 'Runs Checkstyle analysis for all classes.'
|
||||
dependsOn tasks.withType(Checkstyle)
|
||||
}
|
@ -2,6 +2,7 @@ apply plugin: 'findbugs'
|
||||
|
||||
findbugs {
|
||||
ignoreFailures = true
|
||||
sourceSets = [sourceSets.main]
|
||||
}
|
||||
|
||||
tasks.withType(FindBugs) {
|
||||
@ -9,10 +10,4 @@ tasks.withType(FindBugs) {
|
||||
xml.enabled = false
|
||||
html.enabled = true
|
||||
}
|
||||
}
|
||||
|
||||
task findbugs {
|
||||
group = 'Verification'
|
||||
description = 'Runs FindBugs analysis for all classes.'
|
||||
dependsOn tasks.withType(FindBugs)
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user