mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Add nullability annotations to tests in system-test/spring-boot-image-system-test
See gh-47263
This commit is contained in:
@@ -62,3 +62,11 @@ dependencies {
|
||||
toolchain {
|
||||
maximumCompatibleJavaVersion = JavaLanguageVersion.of(23)
|
||||
}
|
||||
|
||||
tasks.named("compileTestJava") {
|
||||
options.nullability.checking = "tests"
|
||||
}
|
||||
|
||||
tasks.named("compileSystemTestJava") {
|
||||
options.nullability.checking = "tests"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user