File tree Expand file tree Collapse file tree 5 files changed +7
-15
lines changed Expand file tree Collapse file tree 5 files changed +7
-15
lines changed Original file line number Diff line number Diff line change 2323* .log
2424* .graphml
2525coverage.db *
26- clover.license
2726out
2827.metadata
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ pipeline {
6161 }
6262 stage(' Coverage' ) {
6363 steps {
64- sh ' ./gradlew --no-daemon -PenableClover clean cloverHtmlReport cloverXmlReport'
64+ sh ' ./gradlew --no-daemon --refresh-dependencies - PenableClover clean cloverHtmlReport cloverXmlReport'
6565 }
6666 post {
6767 success {
Original file line number Diff line number Diff line change @@ -42,13 +42,12 @@ Ask JUnit 5 related questions on [StackOverflow] or chat with us on [Gitter].
4242
4343## Code Coverage
4444
45- Code coverage using [ Clover ] for the latest build is available on the [ Jenkins CI server ] .
46- We are thankful to [ Atlassian ] for providing the Clover license free of charge .
45+ Code coverage using [ OpenClover ] for the latest build is available on the
46+ [ Jenkins CI server ] .
4747
4848A code coverage report can also be generated locally by executing
49- ` gradlew -PenableClover clean cloverHtmlReport ` if you have a local Clover license file
50- on your computer. The results will be available in
51- ` junit-tests/build/reports/clover/html/index.html ` .
49+ ` gradlew -PenableClover clean cloverHtmlReport ` . The results will be available in
50+ ` build/reports/clover/html/index.html ` .
5251
5352## Gradle Build Scans
5453
@@ -143,9 +142,8 @@ The `junit-platform-console-standalone` JAR does not provide an automatic module
143142as it is not intended to be used as a module.
144143
145144
146- [ Atlassian ] : https://www.atlassian.com/
147145[ Automatic-Module-Name ] : http://mail.openjdk.java.net/pipermail/jpms-spec-experts/2017-April/000667.html
148- [ Clover ] : https ://www.atlassian.com/software/clover/
146+ [ OpenClover ] : http ://openclover.org
149147[ CONTRIBUTING.md ] : https://github.com/junit-team/junit5/blob/master/CONTRIBUTING.md
150148[ Gitter ] : https://gitter.im/junit-team/junit5
151149[ Jenkins CI server ] : https://junit.ci.cloudbees.com/job/JUnit5/lastSuccessfulBuild/clover-report/
Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ allprojects { subproj ->
194194 }
195195
196196 dependencies {
197- clover(' com.atlassian.clover :clover:4.1.2 ' )
197+ clover(' org.openclover :clover:4.2.0 ' )
198198 }
199199
200200 ext. cloverDir = file(" $buildDir /clover" )
@@ -203,10 +203,7 @@ allprojects { subproj ->
203203 def instrumentedJavaSourcesDir = file(" $cloverDir /instrumentedSources/java" )
204204
205205 task cloverTaskdef {
206- def cloverLicensePath = (project. hasProperty(' clover.license.path' )
207- ? project. property(' clover.license.path' ) : rootProject. file(' clover.license' ). absolutePath)
208206 ant. taskdef(resource :' cloverlib.xml' , classpath : configurations. clover. asPath)
209- ant. property(name : ' clover.license.path' , value : cloverLicensePath)
210207 }
211208
212209 task cloverInstrumentJava(dependsOn : cloverTaskdef) {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments