Skip to content

Commit

Permalink
fix mockito dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
aburmeis committed Oct 29, 2024
1 parent eaba846 commit 033c361
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
exclude:
- jdk: 8
spring: 6
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand All @@ -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"
}

Expand Down

0 comments on commit 033c361

Please sign in to comment.