From 32a0c8c83d4fe587696e257fd6a451e559a98b7f Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Thu, 16 Oct 2025 09:49:30 +0200 Subject: [PATCH] Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-test-nomockito See gh-47263 --- smoke-test/spring-boot-smoke-test-test-nomockito/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/smoke-test/spring-boot-smoke-test-test-nomockito/build.gradle b/smoke-test/spring-boot-smoke-test-test-nomockito/build.gradle index 46a5de3437a..1b736ed3dc7 100644 --- a/smoke-test/spring-boot-smoke-test-test-nomockito/build.gradle +++ b/smoke-test/spring-boot-smoke-test-test-nomockito/build.gradle @@ -30,3 +30,7 @@ dependencies { testImplementation("org.junit.jupiter:junit-jupiter") testImplementation("org.springframework:spring-test") } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}