From f0ec30fe4f1d7bcaf056eee885ce205851e690e2 Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Thu, 16 Oct 2025 09:34:47 +0200 Subject: [PATCH] Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-property-validation See gh-47263 --- .../spring-boot-smoke-test-property-validation/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/smoke-test/spring-boot-smoke-test-property-validation/build.gradle b/smoke-test/spring-boot-smoke-test-property-validation/build.gradle index 37ccdadcd79..a1ab0ca4001 100644 --- a/smoke-test/spring-boot-smoke-test-property-validation/build.gradle +++ b/smoke-test/spring-boot-smoke-test-property-validation/build.gradle @@ -28,3 +28,7 @@ dependencies { testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":module:spring-boot-web-server")) } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}