Skip to content

Commit 9d63a74

Browse files
committed
Add nullability annotations to tests in module/spring-boot-jpa
See gh-47263
1 parent f059a95 commit 9d63a74

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

module/spring-boot-jpa/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,8 @@ dependencies {
3838
testImplementation(testFixtures(project(":core:spring-boot-autoconfigure")))
3939
testImplementation("org.springframework:spring-context-support")
4040
}
41+
42+
tasks.named("compileTestJava") {
43+
options.nullability.checking = "tests"
44+
}
45+

0 commit comments

Comments
 (0)