diff --git a/smoke-test/spring-boot-smoke-test-data-rest/build.gradle b/smoke-test/spring-boot-smoke-test-data-rest/build.gradle index f88a0f99e87..aac1e221903 100644 --- a/smoke-test/spring-boot-smoke-test-data-rest/build.gradle +++ b/smoke-test/spring-boot-smoke-test-data-rest/build.gradle @@ -34,3 +34,7 @@ dependencies { testRuntimeOnly("com.jayway.jsonpath:json-path") } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}