Browse Source

Add nullability annotations to tests in module/spring-boot-kotlin-serialization

See gh-47263
pull/47415/head
Moritz Halbritter 2 months ago
parent
commit
fde0ae4ac9
  1. 6
      module/spring-boot-kotlin-serialization/build.gradle

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

@ -1,5 +1,3 @@ @@ -1,5 +1,3 @@
import org.springframework.boot.build.autoconfigure.CheckAutoConfigurationClasses
/*
* Copyright 2012-present the original author or authors.
*
@ -40,3 +38,7 @@ dependencies { @@ -40,3 +38,7 @@ dependencies {
testRuntimeOnly("ch.qos.logback:logback-classic")
testRuntimeOnly("org.jetbrains.kotlin:kotlin-reflect")
}
tasks.named("compileTestJava") {
options.nullability.checking = "tests"
}

Loading…
Cancel
Save