We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cef6842 commit 9bbea05Copy full SHA for 9bbea05
โbuild.gradleโ
@@ -4,6 +4,7 @@ plugins {
4
id 'org.asciidoctor.convert' version '1.5.8'
5
id "com.ewerk.gradle.plugins.querydsl" version "1.0.10"
6
id 'java'
7
+ id 'jacoco'
8
}
9
10
group = 'org.ahpuh'
@@ -77,9 +78,31 @@ configurations {
77
78
test {
79
outputs.dir snippetsDir
80
useJUnitPlatform()
81
+ finalizedBy 'jacocoTestReport'
82
83
84
asciidoctor {
85
inputs.dir snippetsDir
86
dependsOn test
87
88
+
89
+jacocoTestReport {
90
+ finalizedBy 'jacocoTestCoverageVerification'
91
+}
92
93
+jacocoTestCoverageVerification {
94
+ violationRules {
95
+ rule {
96
+ enabled = true
97
+ element = 'BUNDLE'
98
99
+ limit {
100
+ counter = 'LINE'
101
+ value = 'COVEREDRATIO'
102
+ minimum = 0.50
103
+ }
104
105
+ excludes = []
106
107
108
0 commit comments