Browse Source

Add nullability annotations to tests in module/spring-boot-webtestclient

See gh-47263
pull/47665/head
Moritz Halbritter 2 months ago
parent
commit
b0f503c24c
  1. 4
      module/spring-boot-webtestclient/build.gradle

4
module/spring-boot-webtestclient/build.gradle

@ -37,3 +37,7 @@ dependencies { @@ -37,3 +37,7 @@ dependencies {
testRuntimeOnly("jakarta.servlet:jakarta.servlet-api")
testRuntimeOnly("org.springframework:spring-webmvc")
}
tasks.named("compileTestJava") {
options.nullability.checking = "tests"
}

Loading…
Cancel
Save