Skip to content

Commit aa06ab1

Browse files
committed
Add nullability annotations to tests in module/spring-boot-data-neo4j
See gh-47263
1 parent 09967b1 commit aa06ab1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

module/spring-boot-data-neo4j/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,11 @@ dependencies {
4949

5050
testRuntimeOnly("ch.qos.logback:logback-classic")
5151
}
52+
53+
tasks.named("compileTestJava") {
54+
options.nullability.checking = "tests"
55+
}
56+
57+
tasks.named("compileDockerTestJava") {
58+
options.nullability.checking = "tests"
59+
}

0 commit comments

Comments
 (0)