Skip to content

Commit 28d59d2

Browse files
committed
Bump Mockito to 5.0.0, stick to 4.x on Java 8
1 parent 18d9daa commit 28d59d2

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/dependabot.yml

-4
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ updates:
1515
versions: [ "[2.0,)" ]
1616
- dependency-name: "ch.qos.logback:logback-classic"
1717
versions: [ "[1.3,)" ]
18-
- dependency-name: "org.mockito:mockito-core"
19-
versions: [ "[5.0,)" ]
2018
- package-ecosystem: "maven"
2119
directory: "/"
2220
schedule:
@@ -30,8 +28,6 @@ updates:
3028
versions: [ "[2.0,)" ]
3129
- dependency-name: "ch.qos.logback:logback-classic"
3230
versions: [ "[1.3,)" ]
33-
- dependency-name: "org.mockito:mockito-core"
34-
versions: [ "[5.0,)" ]
3531
- package-ecosystem: "github-actions"
3632
directory: "/"
3733
schedule:

pom.xml

+10-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<jackson.version>2.14.1</jackson.version>
6262
<logback.version>1.2.11</logback.version>
6363
<junit.jupiter.version>5.9.2</junit.jupiter.version>
64-
<mockito.version>4.11.0</mockito.version>
64+
<mockito.version>5.0.0</mockito.version>
6565
<assertj.version>3.24.1</assertj.version>
6666
<jetty.version>9.4.50.v20221201</jetty.version>
6767
<bouncycastle.version>1.70</bouncycastle.version>
@@ -684,6 +684,15 @@
684684
</repository>
685685
</distributionManagement>
686686
</profile>
687+
<profile>
688+
<id>mockito-4-on-java-8</id>
689+
<activation>
690+
<jdk>1.8</jdk>
691+
</activation>
692+
<properties>
693+
<mockito.version>4.11.0</mockito.version>
694+
</properties>
695+
</profile>
687696

688697
</profiles>
689698

0 commit comments

Comments
 (0)