Skip to content

Commit b80789c

Browse files
authored
Exclude spring-boot from API (#7443)
1 parent 2112253 commit b80789c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

api/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ List runtime = [
4949
"com.google.code.kaptcha:kaptcha:${kaptchaVersion}",
5050
]
5151

52+
configurations.configureEach {
53+
// spring-ai pulls in spring-boot and tomcat-embed. We don't want multiple copies of these dependencies, especially
54+
// versions that conflict with those in our embedded jar.
55+
exclude group: "org.springframework.boot"
56+
}
57+
5258
configurations {
5359
// Exclude the bundled org.json library from com.fasterxml.jackson.datatype:jackson-datatype-json-org dependency
5460
all*.exclude group: "org.apache.geronimo.bundles", module: "json"

0 commit comments

Comments
 (0)