Skip to content

Commit 67de70a

Browse files
committed
Prune dependencies of spring-boot-autoconfigure-all
1 parent bb317e6 commit 67de70a

File tree

1 file changed

+11
-170
lines changed
  • spring-boot-project/spring-boot-autoconfigure-all

1 file changed

+11
-170
lines changed

spring-boot-project/spring-boot-autoconfigure-all/build.gradle

+11-170
Original file line numberDiff line numberDiff line change
@@ -8,186 +8,27 @@ plugins {
88

99
description = "Spring Boot AutoConfigure All"
1010

11-
configurations.all {
12-
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
13-
if (details.requested.module.group == "org.apache.kafka" && details.requested.module.name == "kafka-server-common") {
14-
details.artifactSelection {
15-
selectArtifact(DependencyArtifact.DEFAULT_TYPE, null, null)
16-
}
17-
}
18-
}
19-
}
20-
2111
dependencies {
2212
api(project(":spring-boot-project:spring-boot"))
2313
api(project(":spring-boot-project:spring-boot-autoconfigure"))
24-
25-
optional(project(":spring-boot-project:spring-boot-activemq"))
26-
optional(project(":spring-boot-project:spring-boot-artemis"))
27-
optional(project(":spring-boot-project:spring-boot-data-jpa"))
28-
optional(project(":spring-boot-project:spring-boot-data-mongodb"))
29-
optional(project(":spring-boot-project:spring-boot-data-redis"))
30-
optional(project(":spring-boot-project:spring-boot-data-rest"))
31-
optional(project(":spring-boot-project:spring-boot-flyway"))
32-
optional(project(":spring-boot-project:spring-boot-h2console"))
33-
optional(project(":spring-boot-project:spring-boot-hazelcast"))
34-
optional(project(":spring-boot-project:spring-boot-http-converter"))
35-
optional(project(":spring-boot-project:spring-boot-http-codec"))
36-
optional(project(":spring-boot-project:spring-boot-jackson"))
37-
optional(project(":spring-boot-project:spring-boot-jdbc"))
38-
optional(project(":spring-boot-project:spring-boot-jsonb"))
39-
optional(project(":spring-boot-project:spring-boot-liquibase"))
40-
optional(project(":spring-boot-project:spring-boot-mongodb"))
41-
optional(project(":spring-boot-project:spring-boot-r2dbc"))
42-
optional(project(":spring-boot-project:spring-boot-reactor-netty"))
43-
optional(project(":spring-boot-project:spring-boot-rsocket"))
44-
optional(project(":spring-boot-project:spring-boot-security"))
45-
optional(project(":spring-boot-project:spring-boot-security-oauth2-resource-server"))
46-
optional(project(":spring-boot-project:spring-boot-session"))
47-
optional(project(":spring-boot-project:spring-boot-tomcat"))
48-
optional(project(":spring-boot-project:spring-boot-tx"))
49-
optional(project(":spring-boot-project:spring-boot-validation"))
50-
optional(project(":spring-boot-project:spring-boot-webflux"))
51-
optional(project(":spring-boot-project:spring-boot-webmvc"))
52-
optional("com.fasterxml.jackson.core:jackson-databind")
53-
optional("com.fasterxml.jackson.dataformat:jackson-dataformat-cbor")
54-
optional("com.fasterxml.jackson.dataformat:jackson-dataformat-xml")
55-
optional("com.fasterxml.jackson.datatype:jackson-datatype-jsr310")
56-
optional("com.fasterxml.jackson.module:jackson-module-jakarta-xmlbind-annotations")
57-
optional("com.fasterxml.jackson.module:jackson-module-parameter-names")
58-
optional("com.nimbusds:oauth2-oidc-sdk")
59-
optional("com.oracle.database.jdbc:ojdbc11")
60-
optional("com.oracle.database.jdbc:ucp11")
61-
optional("com.querydsl:querydsl-core")
62-
optional("io.lettuce:lettuce-core")
63-
optional("io.projectreactor.netty:reactor-netty-http")
64-
optional("io.r2dbc:r2dbc-spi")
65-
optional("io.r2dbc:r2dbc-pool")
66-
optional("io.r2dbc:r2dbc-proxy")
67-
optional("io.rsocket:rsocket-core")
68-
optional("io.rsocket:rsocket-transport-netty")
69-
optional("io.undertow:undertow-servlet")
70-
optional("io.undertow:undertow-websockets-jsr")
71-
optional("jakarta.jms:jakarta.jms-api")
72-
optional("jakarta.mail:jakarta.mail-api")
73-
optional("jakarta.json.bind:jakarta.json.bind-api")
74-
optional("jakarta.persistence:jakarta.persistence-api")
75-
optional("jakarta.transaction:jakarta.transaction-api")
76-
optional("jakarta.validation:jakarta.validation-api")
77-
optional("jakarta.websocket:jakarta.websocket-api")
78-
optional("jakarta.ws.rs:jakarta.ws.rs-api")
79-
optional("javax.cache:cache-api")
80-
81-
optional("org.apache.commons:commons-dbcp2") {
82-
exclude group: "commons-logging", module: "commons-logging"
83-
}
84-
optional("org.apache.httpcomponents.client5:httpclient5")
85-
optional("org.apache.httpcomponents.core5:httpcore5-reactive")
86-
optional("org.apache.tomcat.embed:tomcat-embed-core")
87-
optional("org.apache.tomcat.embed:tomcat-embed-el")
88-
optional("org.apache.tomcat.embed:tomcat-embed-websocket")
89-
optional("org.apache.tomcat:tomcat-jdbc")
90-
optional("org.apiguardian:apiguardian-api")
91-
optional("org.eclipse.angus:angus-mail")
92-
optional("com.zaxxer:HikariCP")
93-
optional("org.aspectj:aspectjweaver")
94-
optional("org.eclipse.jetty.ee10:jetty-ee10-webapp")
95-
optional("org.eclipse.jetty:jetty-reactive-httpclient")
96-
optional("org.eclipse.jetty.ee10.websocket:jetty-ee10-websocket-jakarta-server")
97-
optional("org.eclipse.jetty.ee10.websocket:jetty-ee10-websocket-jetty-server")
98-
optional("org.glassfish.jersey.containers:jersey-container-servlet-core")
99-
optional("org.glassfish.jersey.containers:jersey-container-servlet")
100-
optional("org.glassfish.jersey.core:jersey-server")
101-
optional("org.glassfish.jersey.ext:jersey-spring6")
102-
optional("org.glassfish.jersey.media:jersey-media-json-jackson")
103-
optional("org.hibernate.orm:hibernate-core")
104-
optional("org.hibernate.orm:hibernate-jcache")
105-
optional("org.hibernate.validator:hibernate-validator")
106-
optional("org.influxdb:influxdb-java")
107-
optional("org.jooq:jooq")
108-
optional("org.liquibase:liquibase-core") {
109-
exclude group: "javax.xml.bind", module: "jaxb-api"
110-
}
111-
optional("org.messaginghub:pooled-jms") {
112-
exclude group: "org.apache.geronimo.specs", module: "geronimo-jms_2.0_spec"
113-
}
114-
optional("org.mongodb:mongodb-driver-reactivestreams")
115-
optional("org.mongodb:mongodb-driver-sync")
116-
optional("org.opensaml:opensaml-core:4.0.1")
117-
optional("org.opensaml:opensaml-saml-api:4.0.1")
118-
optional("org.opensaml:opensaml-saml-impl:4.0.1")
119-
optional("org.springframework:spring-aspects")
120-
optional("org.springframework:spring-jdbc")
121-
optional("org.springframework:spring-jms")
122-
optional("org.springframework:spring-orm")
123-
optional("org.springframework:spring-tx")
124-
optional("org.springframework:spring-web")
125-
optional("org.springframework:spring-websocket")
126-
optional("org.springframework:spring-webflux")
14+
15+
optional(project(":spring-boot-project:spring-boot-web-server"))
16+
optional("jakarta.servlet:jakarta.servlet-api")
12717
optional("org.springframework:spring-webmvc")
128-
optional("org.springframework.data:spring-data-envers") {
129-
exclude group: "javax.activation", module: "javax.activation-api"
130-
exclude group: "javax.persistence", module: "javax.persistence-api"
131-
exclude group: "org.jboss.spec.javax.transaction", module: "jboss-transaction-api_1.2_spec"
132-
}
133-
optional("org.springframework.data:spring-data-rest-webmvc")
134-
optional("org.springframework.data:spring-data-jdbc")
135-
optional("org.springframework.data:spring-data-mongodb")
136-
optional("org.springframework.data:spring-data-r2dbc")
137-
optional("org.springframework.hateoas:spring-hateoas")
138-
optional("org.springframework.security:spring-security-acl")
139-
optional("org.springframework.security:spring-security-config")
140-
optional("org.springframework.security:spring-security-data")
141-
optional("org.springframework.security:spring-security-messaging")
142-
optional("org.springframework.security:spring-security-oauth2-authorization-server")
143-
optional("org.springframework.security:spring-security-oauth2-client")
144-
optional("org.springframework.security:spring-security-oauth2-jose")
145-
optional("org.springframework.security:spring-security-oauth2-resource-server")
146-
optional("org.springframework.security:spring-security-rsocket")
147-
optional("org.springframework.security:spring-security-saml2-service-provider") {
148-
exclude group: "org.opensaml", module: "opensaml-core"
149-
exclude group: "org.opensaml", module: "opensaml-saml-api"
150-
exclude group: "org.opensaml", module: "opensaml-saml-impl"
151-
}
152-
optional("org.springframework.security:spring-security-web")
153-
optional("org.springframework.amqp:spring-rabbit")
154-
optional("org.springframework.amqp:spring-rabbit-stream")
15518

156-
testImplementation(project(":spring-boot-project:spring-boot-freemarker"))
157-
testImplementation(project(":spring-boot-project:spring-boot-gson"))
19+
testImplementation(project(":spring-boot-project:spring-boot-data-redis"))
20+
testImplementation(project(":spring-boot-project:spring-boot-http-converter"))
15821
testImplementation(project(":spring-boot-project:spring-boot-jetty"))
22+
testImplementation(project(":spring-boot-project:spring-boot-security"))
23+
testImplementation(project(":spring-boot-project:spring-boot-session-data-redis"))
15924
testImplementation(project(":spring-boot-project:spring-boot-test"))
25+
testImplementation(project(":spring-boot-project:spring-boot-tomcat"))
16026
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
16127
testImplementation(project(":spring-boot-project:spring-boot-undertow"))
162-
testImplementation(project(":spring-boot-project:spring-boot-mustache"))
163-
testImplementation(project(":spring-boot-project:spring-boot-thymeleaf"))
28+
testImplementation(project(":spring-boot-project:spring-boot-webmvc"))
16429
testImplementation(testFixtures(project(":spring-boot-project:spring-boot-web-server")))
165-
testImplementation(testFixtures(project(":spring-boot-project:spring-boot-autoconfigure")))
166-
testImplementation("ch.qos.logback:logback-classic")
167-
testImplementation("commons-fileupload:commons-fileupload")
168-
testImplementation("com.github.h-thurow:simple-jndi")
169-
testImplementation("com.ibm.db2:jcc")
170-
testImplementation("com.mysql:mysql-connector-j")
171-
testImplementation("com.squareup.okhttp3:mockwebserver")
172-
testImplementation("com.sun.xml.messaging.saaj:saaj-impl")
173-
testImplementation("io.micrometer:context-propagation")
174-
testImplementation("io.projectreactor:reactor-test")
175-
testImplementation("io.r2dbc:r2dbc-h2")
176-
testImplementation("jakarta.json:jakarta.json-api")
177-
testImplementation("jakarta.xml.ws:jakarta.xml.ws-api")
178-
testImplementation("org.apache.logging.log4j:log4j-to-slf4j")
179-
testImplementation("org.eclipse:yasson")
180-
testImplementation("org.hsqldb:hsqldb")
181-
testImplementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
182-
testImplementation("org.junit.jupiter:junit-jupiter")
183-
testImplementation("org.postgresql:postgresql")
184-
testImplementation("org.postgresql:r2dbc-postgresql")
185-
testImplementation("org.springframework.security:spring-security-test")
186-
testImplementation("org.yaml:snakeyaml")
187-
188-
testRuntimeOnly("jakarta.management.j2ee:jakarta.management.j2ee-api")
189-
testRuntimeOnly("org.flywaydb:flyway-database-hsqldb")
190-
testRuntimeOnly("org.jetbrains.kotlin:kotlin-reflect")
30+
31+
testRuntimeOnly("org.apache.httpcomponents.client5:httpclient5")
19132
}
19233

19334
test {

0 commit comments

Comments
 (0)