Skip to content

Commit a5c8e2b

Browse files
committed
Add nullability annotations to tests in system-test/spring-boot-image-system-test
See gh-47263
1 parent fd1053a commit a5c8e2b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

system-test/spring-boot-image-system-tests/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,11 @@ dependencies {
6262
toolchain {
6363
maximumCompatibleJavaVersion = JavaLanguageVersion.of(23)
6464
}
65+
66+
tasks.named("compileTestJava") {
67+
options.nullability.checking = "tests"
68+
}
69+
70+
tasks.named("compileSystemTestJava") {
71+
options.nullability.checking = "tests"
72+
}

0 commit comments

Comments
 (0)