File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -183,10 +183,21 @@ dependencies {
183183 testRuntimeOnly ' org.junit.jupiter:junit-jupiter-engine'
184184 testRuntimeOnly ' org.junit.platform:junit-platform-launcher'
185185
186- // Limit version for java 8
187- testImplementation ' org.mockito:mockito-junit-jupiter:4.11.0'
186+ testImplementation (' org.mockito:mockito-junit-jupiter' ) {
187+ // Limit version for java 8
188+ version {
189+ strictly(' [4.11.0, 5.0.0)' )
190+ prefer ' 4.11.0'
191+ }
192+ }
188193 // would like to transition these to wiremock
189- testImplementation ' org.mock-server:mockserver-junit-jupiter:5.15.0'
194+ testImplementation (' org.mock-server:mockserver-junit-jupiter' ) {
195+ // Limit version for java 8
196+ version {
197+ strictly(' [5.15.0, 6.0.0)' )
198+ prefer ' 5.15.0'
199+ }
200+ }
190201 testImplementation(' com.github.tomakehurst:wiremock-jre8' ) {
191202 version {
192203 // https://github.com/wiremock/wiremock/releases/tag/3.0.0 drops support for Java 8
You can’t perform that action at this time.
0 commit comments