From e4077af691a02cdd423615260142c4cdbc26e56c Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Thu, 16 Oct 2025 09:26:15 +0200 Subject: [PATCH] Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-data-r2dbc-liquibase See gh-47263 --- .../build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/smoke-test/spring-boot-smoke-test-data-r2dbc-liquibase/build.gradle b/smoke-test/spring-boot-smoke-test-data-r2dbc-liquibase/build.gradle index 2aed9c246d6..6993038ba82 100644 --- a/smoke-test/spring-boot-smoke-test-data-r2dbc-liquibase/build.gradle +++ b/smoke-test/spring-boot-smoke-test-data-r2dbc-liquibase/build.gradle @@ -37,3 +37,11 @@ dependencies { dockerTestImplementation("org.testcontainers:postgresql") dockerTestImplementation("org.testcontainers:r2dbc") } + +tasks.named("compileTestJava") { + options.nullability.checking = "tests" +} + +tasks.named("compileDockerTestJava") { + options.nullability.checking = "tests" +}