From c3ef78e829e1fc99c138041d972041cc25b7668f Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Thu, 16 Oct 2025 09:27:07 +0200 Subject: [PATCH] Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-data-rest See gh-47263 --- smoke-test/spring-boot-smoke-test-data-rest/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) 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" +}