Skip to content

Commit 2f202ff

Browse files
committed
Add compileOnly dependency on JSR-305 annotations for Reactor
After the upgrade to Selenium 4.33.0 in commit 1051592, the spring-test module began to fail as follows. /home/runner/.gradle/caches/modules-2/files-2.1/io.projectreactor/reactor-core/3.8.0-M4/3195c7882f5833915a74ee18d58857cabc29b4c6/reactor-core-3.8.0-M4.jar(/reactor/util/annotation/Nullable.class): warning: Cannot find annotation method 'when()' in type 'Nonnull': class file for javax.annotation.Nonnull not found warning: unknown enum constant When.MAYBE reason: class file for javax.annotation.meta.When not found error: warnings found and -Werror specified 1 error 2 warnings To address that, this commit introduces a compileOnly dependency on "com.google.code.findbugs:jsr305".
1 parent b1222cc commit 2f202ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spring-test/spring-test.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ apply plugin: "kotlin"
44

55
dependencies {
66
api(project(":spring-core"))
7+
compileOnly("com.google.code.findbugs:jsr305") // for Reactor
78
optional(project(":spring-aop"))
89
optional(project(":spring-beans"))
910
optional(project(":spring-context"))

0 commit comments

Comments
 (0)