From 4a5c61a618103fdce58c8069bbda245a2be6eed2 Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Mon, 13 Oct 2025 11:27:54 +0200 Subject: [PATCH] Add nullability annotations to tests in module/spring-boot-netty See gh-47263 --- module/spring-boot-netty/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/module/spring-boot-netty/build.gradle b/module/spring-boot-netty/build.gradle index 91260114452..20d9513f864 100644 --- a/module/spring-boot-netty/build.gradle +++ b/module/spring-boot-netty/build.gradle @@ -36,3 +36,7 @@ dependencies { testRuntimeOnly("ch.qos.logback:logback-classic") } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +}