Skip to content

Commit d98ba5d

Browse files
Remove redundant Jacoco coverage verification rules from build.gradle to streamline test coverage configuration.
1 parent d445ff3 commit d98ba5d

File tree

1 file changed

+0
-40
lines changed

1 file changed

+0
-40
lines changed

contentstack/build.gradle

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -359,46 +359,6 @@ tasks.register('jacocoCombinedReport', JacocoReport) {
359359
tasks.register('jacocoTestCoverageVerification', JacocoCoverageVerification) {
360360
dependsOn('testDebugUnitTest')
361361

362-
violationRules {
363-
rule {
364-
limit {
365-
minimum = 0.99
366-
}
367-
}
368-
369-
rule {
370-
element = 'CLASS'
371-
limit {
372-
counter = 'LINE'
373-
value = 'COVEREDRATIO'
374-
minimum = 0.99
375-
}
376-
excludes = [
377-
'*.R',
378-
'*.R$*',
379-
'*.BuildConfig',
380-
'*.*Test*',
381-
'*.TestActivity'
382-
]
383-
}
384-
385-
rule {
386-
element = 'CLASS'
387-
limit {
388-
counter = 'BRANCH'
389-
value = 'COVEREDRATIO'
390-
minimum = 0.99
391-
}
392-
excludes = [
393-
'*.R',
394-
'*.R$*',
395-
'*.BuildConfig',
396-
'*.*Test*',
397-
'*.TestActivity'
398-
]
399-
}
400-
}
401-
402362
def excludePatterns = [
403363
'**/R.class',
404364
'**/R$*.class',

0 commit comments

Comments
 (0)