Only analyze the main source set
This commit is contained in:
parent
bfd04a0686
commit
6fd694af7e
@ -3,6 +3,7 @@ apply plugin: 'checkstyle'
|
|||||||
checkstyle {
|
checkstyle {
|
||||||
ignoreFailures = true
|
ignoreFailures = true
|
||||||
configFile = new File(rootProject.projectDir, 'sun_checks.xml')
|
configFile = new File(rootProject.projectDir, 'sun_checks.xml')
|
||||||
|
sourceSets = [sourceSets.main]
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(Checkstyle) {
|
tasks.withType(Checkstyle) {
|
||||||
@ -11,9 +12,3 @@ tasks.withType(Checkstyle) {
|
|||||||
html.enabled = true
|
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 {
|
findbugs {
|
||||||
ignoreFailures = true
|
ignoreFailures = true
|
||||||
|
sourceSets = [sourceSets.main]
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(FindBugs) {
|
tasks.withType(FindBugs) {
|
||||||
@ -10,9 +11,3 @@ tasks.withType(FindBugs) {
|
|||||||
html.enabled = true
|
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