This commit introduces auto-configuration for the new Elasticsearch clients that are based upon their new Java client. The new Java client builds on top of their existing low-level REST client, replacing the high-level REST client which has been deprecated. As part of introducing support for the new Elasticsearch client, the auto-configuration for the templates (both imperative and reactive) provided by Spring Data has also been updated to use the new templates that build upon the new Java client. As part of these changes, support for the high-level REST client and the old Spring Data Elasticsearch templates has been removed. One significant change is that the new reactive template is no longer based on WebClient. As a result, the WebClient-specific configuration property has been removed. Closes gh-30647 Closes gh-28597 Closes gh-31755
206 lines
3.8 KiB
Groovy
206 lines
3.8 KiB
Groovy
plugins {
|
|
id "org.springframework.boot.bom"
|
|
id "org.springframework.boot.conventions"
|
|
id "org.springframework.boot.deployed"
|
|
}
|
|
|
|
description = "Spring Boot Parent"
|
|
|
|
bom {
|
|
upgrade {
|
|
policy = "same-major-version"
|
|
gitHub {
|
|
issueLabels = ["type: task"]
|
|
}
|
|
}
|
|
library("Android JSON", "0.0.20131108.vaadin1") {
|
|
group("com.vaadin.external.google") {
|
|
modules = [
|
|
"android-json"
|
|
]
|
|
}
|
|
}
|
|
library("API Guardian", "1.1.0") {
|
|
group("org.apiguardian") {
|
|
modules = [
|
|
"apiguardian-api"
|
|
]
|
|
}
|
|
}
|
|
library("Commons Compress", "1.21") {
|
|
group("org.apache.commons") {
|
|
modules = [
|
|
"commons-compress"
|
|
]
|
|
}
|
|
}
|
|
library("Commons FileUpload", "1.4") {
|
|
group("commons-fileupload") {
|
|
modules = [
|
|
"commons-fileupload"
|
|
]
|
|
}
|
|
}
|
|
library("Jakarta Inject", "2.0.1") {
|
|
group("jakarta.inject") {
|
|
modules = [
|
|
"jakarta.inject-api"
|
|
]
|
|
}
|
|
}
|
|
library("JLine", "2.11") {
|
|
prohibit("[2.12,)") {
|
|
because "it contains breaking changes"
|
|
}
|
|
group("jline") {
|
|
modules = [
|
|
"jline"
|
|
]
|
|
}
|
|
}
|
|
library("JNA", "5.7.0") {
|
|
group("net.java.dev.jna") {
|
|
modules = [
|
|
"jna-platform"
|
|
]
|
|
}
|
|
}
|
|
library("JOpt Simple", "5.0.4") {
|
|
group("net.sf.jopt-simple") {
|
|
modules = [
|
|
"jopt-simple"
|
|
]
|
|
}
|
|
}
|
|
library("Maven", "3.6.3") {
|
|
group("org.apache.maven") {
|
|
modules = [
|
|
"maven-plugin-api",
|
|
"maven-resolver-provider",
|
|
"maven-settings-builder"
|
|
]
|
|
}
|
|
}
|
|
library("Maven Common Artifact Filters", "3.2.0") {
|
|
group("org.apache.maven.shared") {
|
|
modules = [
|
|
"maven-common-artifact-filters"
|
|
]
|
|
}
|
|
}
|
|
library("Maven Invoker", "3.1.0") {
|
|
group("org.apache.maven.shared") {
|
|
modules = [
|
|
"maven-invoker"
|
|
]
|
|
}
|
|
}
|
|
library("Maven Plugin Tools", "3.6.0") {
|
|
group("org.apache.maven.plugin-tools") {
|
|
modules = [
|
|
"maven-plugin-annotations"
|
|
]
|
|
}
|
|
}
|
|
library("Maven Resolver", "1.6.3") {
|
|
group("org.apache.maven.resolver") {
|
|
modules = [
|
|
"maven-resolver-api",
|
|
"maven-resolver-connector-basic",
|
|
"maven-resolver-impl",
|
|
"maven-resolver-spi",
|
|
"maven-resolver-transport-file",
|
|
"maven-resolver-transport-http",
|
|
"maven-resolver-util"
|
|
]
|
|
}
|
|
}
|
|
library("Maven Shade Plugin", "3.2.4") {
|
|
group("org.apache.maven.plugins") {
|
|
modules = [
|
|
"maven-shade-plugin"
|
|
]
|
|
}
|
|
}
|
|
library("MockK", "1.10.6") {
|
|
group("io.mockk") {
|
|
modules = [
|
|
"mockk"
|
|
]
|
|
}
|
|
}
|
|
library("Native Gradle Plugin", "${nativeBuildToolsVersion}") {
|
|
group("org.graalvm.buildtools") {
|
|
modules = [
|
|
"native-gradle-plugin"
|
|
]
|
|
}
|
|
}
|
|
library("Plexus Build API", "0.0.7") {
|
|
group("org.sonatype.plexus") {
|
|
modules = [
|
|
"plexus-build-api"
|
|
]
|
|
}
|
|
}
|
|
library("Plexus Sec Dispatcher", "1.4") {
|
|
group("org.sonatype.plexus") {
|
|
modules = [
|
|
"plexus-sec-dispatcher"
|
|
]
|
|
}
|
|
}
|
|
library("Simple JNDI", "0.23.0") {
|
|
group("com.github.h-thurow") {
|
|
modules = [
|
|
"simple-jndi"
|
|
]
|
|
}
|
|
}
|
|
library("Sisu", "2.6.0") {
|
|
group("org.sonatype.sisu") {
|
|
modules = [
|
|
"sisu-inject-plexus"
|
|
]
|
|
}
|
|
}
|
|
library("Spock Framework", "2.2-M1-groovy-4.0") {
|
|
group("org.spockframework") {
|
|
imports = [
|
|
"spock-bom"
|
|
]
|
|
}
|
|
}
|
|
library("TestNG", "6.14.3") {
|
|
group("org.testng") {
|
|
modules = [
|
|
"testng"
|
|
]
|
|
}
|
|
}
|
|
library("Spring Asciidoctor Extensions", "0.6.0") {
|
|
group("io.spring.asciidoctor") {
|
|
modules = [
|
|
"spring-asciidoctor-extensions-spring-boot",
|
|
"spring-asciidoctor-extensions-section-ids"
|
|
]
|
|
}
|
|
}
|
|
library("Testcontainers", "1.16.2") {
|
|
group("org.testcontainers") {
|
|
imports = [
|
|
"testcontainers-bom"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api(enforcedPlatform(project(":spring-boot-project:spring-boot-dependencies")))
|
|
}
|
|
|
|
tasks.withType(GenerateModuleMetadata).configureEach {
|
|
// Internal module so enforced platform dependencies are OK
|
|
suppressedValidationErrors.add('enforced-platform')
|
|
}
|