From bd4199e9c57b13ec0cf00eda1a294c38602aa678 Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Thu, 16 Oct 2025 09:24:17 +0200 Subject: [PATCH] Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-data-jdbc See gh-47263 --- smoke-test/spring-boot-smoke-test-data-jdbc/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/smoke-test/spring-boot-smoke-test-data-jdbc/build.gradle b/smoke-test/spring-boot-smoke-test-data-jdbc/build.gradle index 52f39c28a20..e4f2aff8cc6 100644 --- a/smoke-test/spring-boot-smoke-test-data-jdbc/build.gradle +++ b/smoke-test/spring-boot-smoke-test-data-jdbc/build.gradle @@ -30,3 +30,7 @@ dependencies { testImplementation(project(":module:spring-boot-webmvc-test")) testImplementation(project(":starter:spring-boot-starter-test")) } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}