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