Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 20386

Custom JaCoCo Gradle Plugin - exclude files in report

$
0
0

Meanwhile I solved it.

def ex = ['aaa/bbb/*','ccc/ddd.*','eee/fff/*']
def ft = reportTask.classDirectories.asFileTree.matching {
    ex.each {
        exclude it
    }
}

I don’t know how it works, but it works. I think gradle somehow wraps it to AntlrTask since it’s an implementation of PatternFilterable.


Viewing all articles
Browse latest Browse all 20386

Trending Articles