@@ -12,7 +12,6 @@ buildscript {
12
12
jcenter()
13
13
}
14
14
dependencies {
15
- classpath " net.saliman:gradle-cobertura-plugin:2.3.1"
16
15
classpath " gradle.plugin.me.champeau.gradle:jmh-gradle-plugin:0.3.0"
17
16
classpath " org.standardout:bnd-platform:1.4.0"
18
17
}
@@ -250,8 +249,8 @@ subprojects {
250
249
apply plugin : ' pmd'
251
250
apply plugin : ' checkstyle'
252
251
apply plugin : ' findbugs'
253
- apply plugin : ' net.saliman.cobertura'
254
252
apply plugin : ' me.champeau.gradle.jmh'
253
+ apply plugin : ' jacoco'
255
254
256
255
/* * all compile, test and runtime configurations to transitive = false */
257
256
configurations. compile. transitive = false
@@ -292,21 +291,12 @@ subprojects {
292
291
task analyze {
293
292
description = ' Runs all unit tests and all checks.'
294
293
group = ' Verification'
295
- dependsOn(project . tasks . cobertura, check)
294
+ dependsOn(check)
296
295
}
297
296
298
297
/**
299
298
* Tasks for the TestNG and Cobertura.
300
299
*/
301
- cobertura {
302
- // ignore getters and setters, new options from Cobertura
303
- // can not be used for now due to the https://github.com/cobertura/cobertura/issues/200
304
- // coverageIgnoreTrivial = true
305
-
306
- // reporting
307
- coverageReportDir = file(buildQATestCoveragedata)
308
- coverageFormats = [' xml' , ' html' ]
309
- }
310
300
311
301
/**
312
302
* Definition of the test properties.
@@ -399,5 +389,12 @@ subprojects {
399
389
humanOutputFile = file(" ${ buildQAPerfTest} /jmh/human.txt" )
400
390
resultsFile = file(" ${ buildQAPerfTest} /jmh/results.txt" )
401
391
}
402
-
392
+
393
+ /**
394
+ * Configures the jacoco plugin.
395
+ */
396
+ jacoco {
397
+ reportsDir = file(buildQATestCoveragedata)
398
+ }
399
+
403
400
}
0 commit comments