Skip to content

Commit c1bc633

Browse files
make jacoco.excludes auto scan
1 parent 546c0f5 commit c1bc633

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

framework/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ tasks.withType(Test) {
2828
file.absolutePath.replace(project.buildDir.absolutePath + '/', '')
2929
}.findAll { it.endsWith('.class') }.forEach {
3030
if (it.indexOf("/test/")==-1
31-
&& it.indexOf("classes/")!=-1
3231
&& it.indexOf("classes-instrumented/")==-1
32+
&& it.indexOf("classes/")!=-1
33+
&& it.indexOf("org/")!=-1
3334
) {
3435
def start = it.indexOf("org");
3536
def end = it.indexOf("\$") == -1 ? it.indexOf(".") : it.indexOf("\$")

0 commit comments

Comments
 (0)