Skip to content

Commit 6806ce5

Browse files
committed
Add nullability annotations to tests in module/spring-boot-restdocs
See gh-47263
1 parent 558183e commit 6806ce5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

module/spring-boot-restdocs/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,7 @@ dependencies {
4242

4343
testRuntimeOnly(project(":module:spring-boot-tomcat"))
4444
}
45+
46+
tasks.named("compileTestJava") {
47+
options.nullability.checking = "tests"
48+
}

0 commit comments

Comments
 (0)