Browse Source

Add nullability annotations to tests in system-test/spring-boot-image-system-test

See gh-47263
pull/47665/head
Moritz Halbritter 2 months ago
parent
commit
a5c8e2b703
  1. 8
      system-test/spring-boot-image-system-tests/build.gradle

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

@ -62,3 +62,11 @@ dependencies { @@ -62,3 +62,11 @@ dependencies {
toolchain {
maximumCompatibleJavaVersion = JavaLanguageVersion.of(23)
}
tasks.named("compileTestJava") {
options.nullability.checking = "tests"
}
tasks.named("compileSystemTestJava") {
options.nullability.checking = "tests"
}

Loading…
Cancel
Save