Skip to content

Commit dc825eb

Browse files
add build jacoco option
1 parent fe065da commit dc825eb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

framework/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,12 @@ test {
145145
}
146146
}
147147

148+
if (!hasProperty("isJacocoEnable")) {
149+
tasks.withType(Test) {
150+
jacoco.excludes = ['**']
151+
}
152+
}
153+
148154
/*
149155
jacocoTestReport {
150156
reports {

0 commit comments

Comments
 (0)