Browse Source

Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-servlet

See gh-47263
pull/47665/head
Moritz Halbritter 6 months ago
parent
commit
4e1f205625
  1. 4
      smoke-test/spring-boot-smoke-test-servlet/build.gradle

4
smoke-test/spring-boot-smoke-test-servlet/build.gradle

@ -30,3 +30,7 @@ dependencies { @@ -30,3 +30,7 @@ dependencies {
testRuntimeOnly(project(":starter:spring-boot-starter-tomcat"))
}
tasks.named("compileTestJava") {
options.nullability.checking = "tests"
}

Loading…
Cancel
Save