@@ -58,7 +58,7 @@ testlogger {
5858 theme ' mocha'
5959}
6060
61- tasks. withType(Test ) {
61+ tasks. withType(Test ). configureEach {
6262 testlogger {
6363 theme ' mocha'
6464 }
@@ -102,10 +102,10 @@ tasks.register('acceptance-tests', Test) {
102102
103103dependencies {
104104 // Utilities
105- implementation group : ' org.apache.commons' , name : ' commons-configuration2' , version : ' 2.11 .0'
105+ implementation group : ' org.apache.commons' , name : ' commons-configuration2' , version : ' 2.13 .0'
106106
107107 // HTTP client
108- def retrofitVersion = ' 2.9 .0'
108+ def retrofitVersion = ' 3.0 .0'
109109 implementation group : ' com.squareup.retrofit2' , name : ' retrofit' , version : retrofitVersion
110110 implementation group : ' com.squareup.retrofit2' , name : ' converter-jackson' , version : retrofitVersion
111111
@@ -136,13 +136,6 @@ dependencies {
136136
137137 // Wait test utility
138138 testImplementation group : ' org.awaitility' , name : ' awaitility' , version : ' 4.3.0'
139-
140- // Transitive dependencies constraints
141- constraints {
142- implementation(' com.squareup.okhttp3:okhttp:4.12.0' ) {
143- because ' version 3.14.9 used by com.squareup.retrofit2:retrofit:2.9.0 has known vulnerabilities'
144- }
145- }
146139}
147140
148141jacocoTestReport {
@@ -151,7 +144,7 @@ jacocoTestReport {
151144 xml. required = true
152145 html. required = true
153146 }
154- getExecutionData(). setFrom(fileTree(buildDir ). include(" /jacoco/unit-tests.exec" ))
147+ getExecutionData(). setFrom(fileTree(rootProject . layout . buildDirectory ). include(" /jacoco/unit-tests.exec" ))
155148 afterEvaluate {
156149 classDirectories. setFrom(files(classDirectories. files. collect {
157150 fileTree(dir : it, exclude : [
0 commit comments