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" +}