I want to exclude some clasess from JaCoCo but the exclude doest seem to work.
For example i want to exclude all Java clasess that end with Dao (for example com.company.EmplyeeDao).
I have tried the following code, but it still shows up when i push this to sonar / use JacocoTestReport.
test { jacoco { append = true destinationFile = file("$buildDir/jacoco/jacocoTest.exec") classDumpFile = file("$buildDir/jacoco/classpathdumps") excludes = ['*Dao'] } } I'm using this in combination with Android. What is going on?
*Dao.classor**/*Dao.class.