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