From f6ec3825aec624361cff4c132703bc7430e3ece0 Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Thu, 16 Oct 2025 09:36:24 +0200 Subject: [PATCH] Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-reactive-oauth2-resource-server See gh-47263 --- .../build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/smoke-test/spring-boot-smoke-test-reactive-oauth2-resource-server/build.gradle b/smoke-test/spring-boot-smoke-test-reactive-oauth2-resource-server/build.gradle index b04beca88ec..9fcc53ee1f4 100644 --- a/smoke-test/spring-boot-smoke-test-reactive-oauth2-resource-server/build.gradle +++ b/smoke-test/spring-boot-smoke-test-reactive-oauth2-resource-server/build.gradle @@ -30,3 +30,7 @@ dependencies { testImplementation(project(":starter:spring-boot-starter-security-oauth2-resource-server-test")) testImplementation("com.squareup.okhttp3:mockwebserver") } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}