mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-10 03:19:01 +00:00
Add nullability annotations to tests in module/spring-boot-kotlin-serialization
See gh-47263
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import org.springframework.boot.build.autoconfigure.CheckAutoConfigurationClasses
|
||||
|
||||
/*
|
||||
* Copyright 2012-present the original author or authors.
|
||||
*
|
||||
@@ -40,3 +38,7 @@ dependencies {
|
||||
testRuntimeOnly("ch.qos.logback:logback-classic")
|
||||
testRuntimeOnly("org.jetbrains.kotlin:kotlin-reflect")
|
||||
}
|
||||
|
||||
tasks.named("compileTestJava") {
|
||||
options.nullability.checking = "tests"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user