|
@@ -20,6 +20,9 @@
|
20
|
20
|
* SOFTWARE.
|
21
|
21
|
*/
|
22
|
22
|
|
|
23
|
+apply plugin: 'jacoco'
|
|
24
|
+apply plugin: 'com.github.kt3k.coveralls'
|
|
25
|
+
|
23
|
26
|
dependencies {
|
24
|
27
|
pmd group: 'net.sourceforge.pmd', name: 'pmd-core', version: '5.2.3'
|
25
|
28
|
pmd group: 'net.sourceforge.pmd', name: 'pmd-java', version: '5.2.3'
|
|
@@ -44,3 +47,11 @@ findbugs {
|
44
|
47
|
effort = 'max'
|
45
|
48
|
ignoreFailures = true
|
46
|
49
|
}
|
|
50
|
+
|
|
51
|
+jacocoTestReport {
|
|
52
|
+ reports {
|
|
53
|
+ xml.enabled = true // coveralls plugin depends on xml format report
|
|
54
|
+ html.enabled = true
|
|
55
|
+ }
|
|
56
|
+}
|
|
57
|
+
|