From b3177a4d7c32d7d3ac5d32278acd5c1f61c98b4f Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Thu, 16 Oct 2025 09:12:47 +0200 Subject: [PATCH] Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-activemq-embedded See gh-47263 --- .../spring-boot-smoke-test-activemq-embedded/build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/smoke-test/spring-boot-smoke-test-activemq-embedded/build.gradle b/smoke-test/spring-boot-smoke-test-activemq-embedded/build.gradle index 5b5b7f9735c..916df03a419 100644 --- a/smoke-test/spring-boot-smoke-test-activemq-embedded/build.gradle +++ b/smoke-test/spring-boot-smoke-test-activemq-embedded/build.gradle @@ -26,4 +26,8 @@ dependencies { runtimeOnly("org.apache.activemq:activemq-broker") testImplementation(project(":starter:spring-boot-starter-test")) -} \ No newline at end of file +} + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}