gradle_cobertura icon indicating copy to clipboard operation
gradle_cobertura copied to clipboard

configuring cobertura plugin according to the wiki sample fails

Open hmarggraff opened this issue 13 years ago • 1 comments

using the excludes configuration: coverageExcludes = [ '.org.foo..' ] from the sample fails with: unexpected char: '' @ line 5, column 30. double backslashes are required inside a string.

I wonder why the syntax for the include/exclude pattern is different from the syntax that is used by the cobertura ant task. The fileset syntax from ant seems more convenient, than the perl-like syntax from the example. (E.g using ** to recurse through a package/directory hierarchy.)

hmarggraff avatar Mar 26 '11 10:03 hmarggraff

well and if you comment the coverageExcludes then it gradle claims that it can't find the property 'com' when trying to execute the com.orbitz.gradle.cobertura.tasks.GenerateCoverageReportTask

klu2 avatar Nov 18 '11 11:11 klu2