From ea81e754da3db2c5d784f111ac8f695e1db83602 Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Thu, 16 Oct 2025 09:19:40 +0200 Subject: [PATCH] Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-aspectj See gh-47263 --- smoke-test/spring-boot-smoke-test-aspectj/build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/smoke-test/spring-boot-smoke-test-aspectj/build.gradle b/smoke-test/spring-boot-smoke-test-aspectj/build.gradle index 304ccda1e47..fa4508cf834 100644 --- a/smoke-test/spring-boot-smoke-test-aspectj/build.gradle +++ b/smoke-test/spring-boot-smoke-test-aspectj/build.gradle @@ -24,4 +24,8 @@ dependencies { implementation(project(":starter:spring-boot-starter-aspectj")) testImplementation(project(":starter:spring-boot-starter-test")) -} \ No newline at end of file +} + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}