Add nullability annotations to tests in module/spring-boot-jpa
See gh-47263
This commit is contained in:
parent
f059a953d3
commit
9d63a74bbc
|
@ -38,3 +38,8 @@ dependencies {
|
||||||
testImplementation(testFixtures(project(":core:spring-boot-autoconfigure")))
|
testImplementation(testFixtures(project(":core:spring-boot-autoconfigure")))
|
||||||
testImplementation("org.springframework:spring-context-support")
|
testImplementation("org.springframework:spring-context-support")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.named("compileTestJava") {
|
||||||
|
options.nullability.checking = "tests"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue