From 033c361fc9ed83cc3969ddb4c7ebee4c85d55fe5 Mon Sep 17 00:00:00 2001 From: Arne Burmeister Date: Tue, 29 Oct 2024 13:52:18 +0100 Subject: [PATCH] fix mockito dependency --- .github/workflows/ci.yml | 1 + build.gradle | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e6e19d..9db8c1d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,6 +25,7 @@ jobs: exclude: - jdk: 8 spring: 6 + fail-fast: false runs-on: ubuntu-latest steps: - name: Checkout diff --git a/build.gradle b/build.gradle index fd69bce..b6e7f6d 100644 --- a/build.gradle +++ b/build.gradle @@ -13,6 +13,7 @@ ext { versions.springApi = System.getenv("SPRING") == '6' ? '6.1.0' : '5.3.0' versions.target = System.getenv("SPRING") == '6' ? 17 : 8 versions.junit = '5.11.3' + versions.mockito = System.getenv("SPRING") == '6' ? '5.14.2' : '4.11.0' } version = "${majorVersion}.${minorVersion}.${patchVersion}" @@ -31,7 +32,7 @@ dependencies { testImplementation "org.junit.jupiter:junit-jupiter:${versions.junit}", "org.springframework:spring-test:${versions.spring}", 'org.hamcrest:hamcrest:2.2', - 'org.mockito:mockito-junit-jupiter:5.14.2' + "org.mockito:mockito-junit-jupiter:${versions.mockito}" testRuntimeOnly "org.junit.platform:junit-platform-launcher" }