Skip to content

Commit fde0ae4

Browse files
committed
Add nullability annotations to tests in module/spring-boot-kotlin-serialization
See gh-47263
1 parent 643f611 commit fde0ae4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

module/spring-boot-kotlin-serialization/build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import org.springframework.boot.build.autoconfigure.CheckAutoConfigurationClasses
2-
31
/*
42
* Copyright 2012-present the original author or authors.
53
*
@@ -40,3 +38,7 @@ dependencies {
4038
testRuntimeOnly("ch.qos.logback:logback-classic")
4139
testRuntimeOnly("org.jetbrains.kotlin:kotlin-reflect")
4240
}
41+
42+
tasks.named("compileTestJava") {
43+
options.nullability.checking = "tests"
44+
}

0 commit comments

Comments
 (0)