2025-06-21 08:20:50 +08:00
|
|
|
/*
|
|
|
|
|
* Copyright 2012-present the original author or authors.
|
|
|
|
|
*
|
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the License);
|
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
|
*
|
|
|
|
|
* https://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
*
|
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
|
* limitations under the License.
|
|
|
|
|
*/
|
|
|
|
|
|
2022-05-07 03:38:35 +08:00
|
|
|
plugins {
|
|
|
|
|
id "java"
|
2024-06-26 17:51:06 +08:00
|
|
|
id "org.springframework.boot.docker-test"
|
2022-05-07 03:38:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
description = "Spring Boot Session WebFlux Redis smoke test"
|
|
|
|
|
|
|
|
|
|
dependencies {
|
2025-07-23 01:02:07 +08:00
|
|
|
implementation(project(":starter:spring-boot-starter-security"))
|
|
|
|
|
implementation(project(":starter:spring-boot-starter-session-data-redis"))
|
|
|
|
|
implementation(project(":starter:spring-boot-starter-webflux"))
|
|
|
|
|
|
|
|
|
|
runtimeOnly(project(":starter:spring-boot-starter-data-redis-reactive"))
|
|
|
|
|
|
2025-07-09 06:58:43 +08:00
|
|
|
dockerTestImplementation(project(":core:spring-boot-testcontainers"))
|
2025-10-28 16:41:22 +08:00
|
|
|
dockerTestImplementation(project(":starter:spring-boot-starter-session-data-redis-test"))
|
|
|
|
|
dockerTestImplementation(project(":starter:spring-boot-starter-webclient-test"))
|
2025-07-09 06:58:43 +08:00
|
|
|
dockerTestImplementation(project(":test-support:spring-boot-docker-test-support"))
|
2024-08-22 04:02:38 +08:00
|
|
|
dockerTestImplementation("com.redis:testcontainers-redis")
|
2025-10-16 04:56:36 +08:00
|
|
|
dockerTestImplementation("org.testcontainers:testcontainers-junit-jupiter")
|
2022-05-07 03:38:35 +08:00
|
|
|
}
|
2025-10-16 15:43:13 +08:00
|
|
|
|
|
|
|
|
tasks.named("compileTestJava") {
|
|
|
|
|
options.nullability.checking = "tests"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
tasks.named("compileDockerTestJava") {
|
|
|
|
|
options.nullability.checking = "tests"
|
|
|
|
|
}
|