forked from Netflix/archaius
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheck.gradle
34 lines (30 loc) · 820 Bytes
/
check.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
subprojects {
/*
// Checkstyle
apply plugin: 'checkstyle'
tasks.withType(Checkstyle) { ignoreFailures = true }
checkstyle {
ignoreFailures = true // Waiting on GRADLE-2163
configFile = rootProject.file('codequality/checkstyle.xml')
}
*/
// FindBugs
apply plugin: 'findbugs'
tasks.withType(FindBugs) {
reports.html.enabled true
reports.xml.enabled false
}
// PMD
// apply plugin: 'pmd'
// tasks.withType(Pmd) { ignoreFailures = true }
apply plugin: 'cobertura'
cobertura {
sourceDirs = sourceSets.main.java.srcDirs
format = 'html'
includes = ['**/*.java', '**/*.groovy']
excludes = []
}
}
project(':archaius-samplelibrary') {
tasks.withType(FindBugs) { ignoreFailures = true }
}