
Update all dependencies declarations to use the form `scope(reference)` rather than `scope reference`. Prior to this commit we declared dependencies without parentheses unless we were forced to add them due to an `exclude`.
28 lines
949 B
Groovy
28 lines
949 B
Groovy
plugins {
|
|
id "java"
|
|
id "org.springframework.boot.conventions"
|
|
}
|
|
|
|
description = "Spring Boot Session WebFlux smoke test"
|
|
|
|
def sessionStores = [
|
|
"mongodb": [
|
|
project(":spring-boot-project:spring-boot-starters:spring-boot-starter-data-mongodb-reactive"),
|
|
"de.flapdoodle.embed:de.flapdoodle.embed.mongo",
|
|
"org.springframework.session:spring-session-data-mongodb"
|
|
],
|
|
"redis": [
|
|
project(":spring-boot-project:spring-boot-starters:spring-boot-starter-data-redis-reactive"),
|
|
"org.springframework.session:spring-session-data-redis"
|
|
]
|
|
]
|
|
|
|
dependencies {
|
|
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-security"))
|
|
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-webflux"))
|
|
|
|
sessionStores[project.findProperty("sessionStore") ?: "mongodb"].each { runtimeOnly it }
|
|
|
|
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
|
|
}
|