From 10caa70ed80261f82312b9212663519c8ed04a10 Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Thu, 16 Oct 2025 09:22:40 +0200 Subject: [PATCH] Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-config See gh-47263 --- smoke-test/spring-boot-smoke-test-config/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/smoke-test/spring-boot-smoke-test-config/build.gradle b/smoke-test/spring-boot-smoke-test-config/build.gradle index 5125ec8d8ed..1913ec80190 100644 --- a/smoke-test/spring-boot-smoke-test-config/build.gradle +++ b/smoke-test/spring-boot-smoke-test-config/build.gradle @@ -29,3 +29,7 @@ dependencies { tasks.named("test", Test) { environment "SMOKE_TEST_CONFIG_ENV", "from-env.key1=value1" } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}