File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ dependencies {
21
21
api(platform(" org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.8.1" ))
22
22
api(platform(" org.jetbrains.kotlinx:kotlinx-serialization-bom:1.6.3" ))
23
23
api(platform(" org.junit:junit-bom:5.11.3" ))
24
- api(platform(" org.mockito:mockito-bom:5.14.1 " ))
24
+ api(platform(" org.mockito:mockito-bom:5.14.2 " ))
25
25
26
26
constraints {
27
27
api(" com.fasterxml:aalto-xml:1.3.2" )
Original file line number Diff line number Diff line change @@ -55,8 +55,9 @@ plugins.withType(JavaPlugin).configureEach {
55
55
languageVersion = testLanguageVersion
56
56
}
57
57
// Enable Java experimental support in Bytebuddy
58
- // Remove when JDK 22 is supported by Mockito
59
- if (testLanguageVersion == JavaLanguageVersion . of(22 )) {
58
+ // Bytebuddy 1.15.4 supports JDK <= 24
59
+ // see https://github.com/raphw/byte-buddy/blob/master/release-notes.md
60
+ if (testLanguageVersion. compareTo(JavaLanguageVersion . of(24 )) > 0 ) {
60
61
jvmArgs(" -Dnet.bytebuddy.experimental=true" )
61
62
}
62
63
}
You can’t perform that action at this time.
0 commit comments