diff --git a/smoke-test/spring-boot-smoke-test-activemq/build.gradle b/smoke-test/spring-boot-smoke-test-activemq/build.gradle index f731bc340df..59e67dedf88 100644 --- a/smoke-test/spring-boot-smoke-test-activemq/build.gradle +++ b/smoke-test/spring-boot-smoke-test-activemq/build.gradle @@ -30,4 +30,12 @@ dependencies { dockerTestImplementation("org.awaitility:awaitility") dockerTestImplementation("org.testcontainers:junit-jupiter") dockerTestImplementation("org.testcontainers:activemq") -} \ No newline at end of file +} + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +} + +tasks.named("compileDockerTestJava") { + options.nullability.checking = "tests" +}