Browse Source

Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-amqp

See gh-47263
pull/47665/head
Moritz Halbritter 2 months ago
parent
commit
44534e57b0
  1. 10
      smoke-test/spring-boot-smoke-test-amqp/build.gradle

10
smoke-test/spring-boot-smoke-test-amqp/build.gradle

@ -30,4 +30,12 @@ dependencies { @@ -30,4 +30,12 @@ dependencies {
dockerTestImplementation("org.awaitility:awaitility")
dockerTestImplementation("org.testcontainers:junit-jupiter")
dockerTestImplementation("org.testcontainers:rabbitmq")
}
}
tasks.named("compileTestJava") {
options.nullability.checking = "tests"
}
tasks.named("compileDockerTestJava") {
options.nullability.checking = "tests"
}

Loading…
Cancel
Save