2020-01-10 21:48:43 +08:00
|
|
|
plugins {
|
2020-01-23 03:24:37 +08:00
|
|
|
id "java-library"
|
|
|
|
id "org.jetbrains.kotlin.jvm"
|
|
|
|
id "org.springframework.boot.auto-configuration"
|
|
|
|
id "org.springframework.boot.conventions"
|
|
|
|
id "org.springframework.boot.deployed"
|
|
|
|
id "org.springframework.boot.optional-dependencies"
|
2020-01-10 21:48:43 +08:00
|
|
|
}
|
|
|
|
|
2020-01-23 03:24:37 +08:00
|
|
|
description = "Spring Boot AutoConfigure"
|
2020-01-10 21:48:43 +08:00
|
|
|
|
|
|
|
dependencies {
|
2020-01-23 06:09:17 +08:00
|
|
|
api(project(":spring-boot-project:spring-boot"))
|
2020-01-10 21:48:43 +08:00
|
|
|
|
2022-07-12 21:30:49 +08:00
|
|
|
optional("co.elastic.clients:elasticsearch-java") {
|
|
|
|
exclude group: "commons-logging", module: "commons-logging"
|
|
|
|
}
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("com.fasterxml.jackson.core:jackson-databind")
|
|
|
|
optional("com.fasterxml.jackson.dataformat:jackson-dataformat-cbor")
|
|
|
|
optional("com.fasterxml.jackson.dataformat:jackson-dataformat-xml")
|
|
|
|
optional("com.fasterxml.jackson.datatype:jackson-datatype-jsr310")
|
2022-08-08 22:45:20 +08:00
|
|
|
optional("com.fasterxml.jackson.module:jackson-module-jakarta-xmlbind-annotations")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("com.fasterxml.jackson.module:jackson-module-parameter-names")
|
|
|
|
optional("com.google.code.gson:gson")
|
|
|
|
optional("com.hazelcast:hazelcast")
|
|
|
|
optional("com.hazelcast:hazelcast-spring")
|
|
|
|
optional("com.h2database:h2")
|
2020-04-29 16:17:57 +08:00
|
|
|
optional("com.nimbusds:oauth2-oidc-sdk")
|
2020-09-24 22:47:27 +08:00
|
|
|
optional("com.oracle.database.jdbc:ojdbc8")
|
|
|
|
optional("com.oracle.database.jdbc:ucp")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("com.samskivert:jmustache")
|
|
|
|
optional("io.lettuce:lettuce-core")
|
2020-08-04 19:26:47 +08:00
|
|
|
optional("io.projectreactor.netty:reactor-netty-http")
|
2020-02-19 21:41:06 +08:00
|
|
|
optional("io.r2dbc:r2dbc-spi")
|
|
|
|
optional("io.r2dbc:r2dbc-pool")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("io.rsocket:rsocket-core")
|
|
|
|
optional("io.rsocket:rsocket-transport-netty")
|
2022-11-06 08:57:18 +08:00
|
|
|
optional("io.undertow:undertow-servlet")
|
|
|
|
optional("io.undertow:undertow-websockets-jsr")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("jakarta.jms:jakarta.jms-api")
|
|
|
|
optional("jakarta.mail:jakarta.mail-api")
|
|
|
|
optional("jakarta.json.bind:jakarta.json.bind-api")
|
|
|
|
optional("jakarta.persistence:jakarta.persistence-api")
|
2021-11-13 01:54:32 +08:00
|
|
|
optional("jakarta.transaction:jakarta.transaction-api")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("jakarta.validation:jakarta.validation-api")
|
2022-07-20 19:57:17 +08:00
|
|
|
optional("jakarta.websocket:jakarta.websocket-api")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("jakarta.ws.rs:jakarta.ws.rs-api")
|
|
|
|
optional("javax.cache:cache-api")
|
|
|
|
optional("javax.money:money-api")
|
2022-01-07 22:03:21 +08:00
|
|
|
optional("org.apache.activemq:artemis-jakarta-client") {
|
2022-01-07 20:35:46 +08:00
|
|
|
exclude group: "commons-logging", module: "commons-logging"
|
|
|
|
}
|
2022-01-07 22:03:21 +08:00
|
|
|
optional("org.apache.activemq:artemis-jakarta-server") {
|
2022-01-07 20:35:46 +08:00
|
|
|
exclude group: "commons-logging", module: "commons-logging"
|
|
|
|
}
|
2021-11-13 01:54:32 +08:00
|
|
|
optional("org.apache.commons:commons-dbcp2") {
|
|
|
|
exclude group: "commons-logging", module: "commons-logging"
|
|
|
|
}
|
2021-04-12 15:21:20 +08:00
|
|
|
optional("org.apache.httpcomponents.client5:httpclient5")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("org.apache.kafka:kafka-streams")
|
|
|
|
optional("org.apache.tomcat.embed:tomcat-embed-core")
|
|
|
|
optional("org.apache.tomcat.embed:tomcat-embed-el")
|
|
|
|
optional("org.apache.tomcat.embed:tomcat-embed-websocket")
|
|
|
|
optional("org.apache.tomcat:tomcat-jdbc")
|
2021-07-15 01:28:24 +08:00
|
|
|
optional("org.apiguardian:apiguardian-api")
|
2022-03-18 20:34:13 +08:00
|
|
|
optional("org.apache.groovy:groovy-templates")
|
2022-11-07 04:20:58 +08:00
|
|
|
optional("org.eclipse.angus:angus-mail")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("com.github.ben-manes.caffeine:caffeine")
|
2022-01-06 21:28:05 +08:00
|
|
|
optional("com.github.mxab.thymeleaf.extras:thymeleaf-extras-data-attribute")
|
2021-11-13 01:54:32 +08:00
|
|
|
optional("com.sendgrid:sendgrid-java") {
|
|
|
|
exclude group: "commons-logging", module: "commons-logging"
|
|
|
|
}
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("com.unboundid:unboundid-ldapsdk")
|
|
|
|
optional("com.zaxxer:HikariCP")
|
2022-01-06 21:28:05 +08:00
|
|
|
optional("nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("org.aspectj:aspectjweaver")
|
2022-02-11 07:37:23 +08:00
|
|
|
optional("org.cache2k:cache2k-spring")
|
2021-11-13 01:54:32 +08:00
|
|
|
optional("org.eclipse.jetty:jetty-webapp") {
|
2021-11-11 04:17:53 +08:00
|
|
|
exclude(group: "org.eclipse.jetty", module: "jetty-jndi")
|
2022-07-14 20:18:51 +08:00
|
|
|
exclude(group: "org.eclipse.jetty.toolchain", module: "jetty-jakarta-servlet-api")
|
2021-11-13 01:54:32 +08:00
|
|
|
}
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("org.eclipse.jetty:jetty-reactive-httpclient")
|
2021-12-01 04:32:16 +08:00
|
|
|
optional("org.eclipse.jetty.websocket:websocket-jakarta-server") {
|
|
|
|
exclude(group: "org.eclipse.jetty", module: "jetty-jndi")
|
2022-07-14 20:18:51 +08:00
|
|
|
exclude(group: "org.eclipse.jetty.toolchain", module: "jetty-jakarta-servlet-api")
|
|
|
|
exclude(group: "org.eclipse.jetty.toolchain", module: "jetty-jakarta-websocket-api")
|
2021-12-01 04:32:16 +08:00
|
|
|
}
|
|
|
|
optional("org.eclipse.jetty.websocket:websocket-jetty-server") {
|
|
|
|
exclude(group: "org.eclipse.jetty", module: "jetty-jndi")
|
2022-07-14 20:18:51 +08:00
|
|
|
exclude(group: "org.eclipse.jetty.toolchain", module: "jetty-jakarta-servlet-api")
|
2021-11-11 03:14:54 +08:00
|
|
|
}
|
2022-02-27 04:43:05 +08:00
|
|
|
optional("org.ehcache:ehcache") {
|
|
|
|
artifact {
|
|
|
|
classifier = 'jakarta'
|
|
|
|
}
|
|
|
|
}
|
2021-11-13 01:54:32 +08:00
|
|
|
optional("org.elasticsearch.client:elasticsearch-rest-client") {
|
|
|
|
exclude group: "commons-logging", module: "commons-logging"
|
|
|
|
}
|
2021-11-13 04:31:25 +08:00
|
|
|
optional("org.elasticsearch.client:elasticsearch-rest-client-sniffer") {
|
|
|
|
exclude group: "commons-logging", module: "commons-logging"
|
|
|
|
}
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("org.flywaydb:flyway-core")
|
2022-01-03 19:47:25 +08:00
|
|
|
optional("org.flywaydb:flyway-sqlserver")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("org.freemarker:freemarker")
|
2022-08-08 22:45:20 +08:00
|
|
|
optional("org.glassfish.jersey.containers:jersey-container-servlet-core")
|
|
|
|
optional("org.glassfish.jersey.containers:jersey-container-servlet")
|
|
|
|
optional("org.glassfish.jersey.core:jersey-server")
|
|
|
|
optional("org.glassfish.jersey.ext:jersey-spring6")
|
|
|
|
optional("org.glassfish.jersey.media:jersey-media-json-jackson")
|
2022-07-09 20:43:25 +08:00
|
|
|
optional("org.hibernate.orm:hibernate-core")
|
|
|
|
optional("org.hibernate.orm:hibernate-jcache")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("org.hibernate.validator:hibernate-validator")
|
2022-10-04 18:11:43 +08:00
|
|
|
optional("org.infinispan:infinispan-commons-jakarta")
|
|
|
|
optional("org.infinispan:infinispan-component-annotations")
|
|
|
|
optional("org.infinispan:infinispan-core-jakarta")
|
|
|
|
optional("org.infinispan:infinispan-jcache") {
|
|
|
|
exclude group: "org.infinispan", module: "infinispan-commons"
|
|
|
|
exclude group: "org.infinispan", module: "infinispan-core"
|
|
|
|
}
|
|
|
|
optional("org.infinispan:infinispan-spring5-embedded") {
|
|
|
|
exclude group: "org.infinispan", module: "infinispan-commons"
|
|
|
|
exclude group: "org.infinispan", module: "infinispan-core"
|
|
|
|
}
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("org.influxdb:influxdb-java")
|
2022-01-05 23:46:54 +08:00
|
|
|
optional("org.jooq:jooq") {
|
|
|
|
exclude group: "javax.xml.bind", module: "jaxb-api"
|
|
|
|
}
|
2021-11-13 01:54:32 +08:00
|
|
|
optional("org.liquibase:liquibase-core") {
|
|
|
|
exclude group: "javax.xml.bind", module: "jaxb-api"
|
|
|
|
}
|
2022-05-05 00:31:14 +08:00
|
|
|
optional("org.messaginghub:pooled-jms") {
|
|
|
|
exclude group: "org.apache.geronimo.specs", module: "geronimo-jms_2.0_spec"
|
|
|
|
}
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("org.mongodb:mongodb-driver-reactivestreams")
|
2020-01-29 00:29:21 +08:00
|
|
|
optional("org.mongodb:mongodb-driver-sync")
|
2022-10-08 12:52:30 +08:00
|
|
|
optional("org.opensaml:opensaml-core:4.0.1")
|
|
|
|
optional("org.opensaml:opensaml-saml-api:4.0.1")
|
|
|
|
optional("org.opensaml:opensaml-saml-impl:4.0.1")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("org.quartz-scheduler:quartz")
|
|
|
|
optional("org.springframework:spring-jdbc")
|
|
|
|
optional("org.springframework.integration:spring-integration-core")
|
|
|
|
optional("org.springframework.integration:spring-integration-jdbc")
|
|
|
|
optional("org.springframework.integration:spring-integration-jmx")
|
2020-03-03 22:15:24 +08:00
|
|
|
optional("org.springframework.integration:spring-integration-rsocket")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("org.springframework:spring-jms")
|
|
|
|
optional("org.springframework:spring-orm")
|
|
|
|
optional("org.springframework:spring-tx")
|
|
|
|
optional("org.springframework:spring-web")
|
|
|
|
optional("org.springframework:spring-websocket")
|
|
|
|
optional("org.springframework:spring-webflux")
|
|
|
|
optional("org.springframework:spring-webmvc")
|
|
|
|
optional("org.springframework.batch:spring-batch-core")
|
2021-12-10 22:28:20 +08:00
|
|
|
optional("org.springframework.data:spring-data-couchbase")
|
2021-11-13 07:40:35 +08:00
|
|
|
optional("org.springframework.data:spring-data-envers") {
|
|
|
|
exclude group: "javax.activation", module: "javax.activation-api"
|
|
|
|
exclude group: "javax.persistence", module: "javax.persistence-api"
|
|
|
|
exclude group: "javax.xml.bind", module: "jaxb-api"
|
|
|
|
exclude group: "org.jboss.spec.javax.transaction", module: "jboss-transaction-api_1.2_spec"
|
|
|
|
}
|
2021-06-02 20:22:17 +08:00
|
|
|
optional("org.springframework.data:spring-data-jpa")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("org.springframework.data:spring-data-rest-webmvc")
|
2021-11-13 01:54:32 +08:00
|
|
|
optional("org.springframework.data:spring-data-cassandra") {
|
|
|
|
exclude group: "org.slf4j", module: "jcl-over-slf4j"
|
|
|
|
}
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("org.springframework.data:spring-data-elasticsearch") {
|
2020-01-23 03:24:37 +08:00
|
|
|
exclude group: "org.elasticsearch.client", module: "transport"
|
2020-01-13 22:36:47 +08:00
|
|
|
}
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("org.springframework.data:spring-data-jdbc")
|
|
|
|
optional("org.springframework.data:spring-data-ldap")
|
|
|
|
optional("org.springframework.data:spring-data-mongodb")
|
|
|
|
optional("org.springframework.data:spring-data-neo4j")
|
2020-02-19 22:42:13 +08:00
|
|
|
optional("org.springframework.data:spring-data-r2dbc")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("org.springframework.data:spring-data-redis")
|
2022-07-20 19:57:17 +08:00
|
|
|
optional("org.springframework.graphql:spring-graphql")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("org.springframework.hateoas:spring-hateoas")
|
|
|
|
optional("org.springframework.security:spring-security-acl")
|
|
|
|
optional("org.springframework.security:spring-security-config")
|
2021-11-13 01:54:32 +08:00
|
|
|
optional("org.springframework.security:spring-security-data") {
|
|
|
|
exclude group: "javax.xml.bind", module: "jaxb-api"
|
|
|
|
}
|
2022-01-04 21:49:13 +08:00
|
|
|
optional("org.springframework.security:spring-security-messaging")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("org.springframework.security:spring-security-oauth2-client")
|
|
|
|
optional("org.springframework.security:spring-security-oauth2-jose")
|
|
|
|
optional("org.springframework.security:spring-security-oauth2-resource-server")
|
|
|
|
optional("org.springframework.security:spring-security-rsocket")
|
2022-10-08 12:52:30 +08:00
|
|
|
optional("org.springframework.security:spring-security-saml2-service-provider") {
|
|
|
|
exclude group: "org.opensaml", module: "opensaml-core"
|
|
|
|
exclude group: "org.opensaml", module: "opensaml-saml-api"
|
|
|
|
exclude group: "org.opensaml", module: "opensaml-saml-impl"
|
|
|
|
}
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("org.springframework.security:spring-security-web")
|
|
|
|
optional("org.springframework.session:spring-session-core")
|
|
|
|
optional("org.springframework.session:spring-session-data-mongodb")
|
|
|
|
optional("org.springframework.session:spring-session-data-redis")
|
2021-12-01 04:32:16 +08:00
|
|
|
optional("org.springframework.session:spring-session-hazelcast")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("org.springframework.session:spring-session-jdbc")
|
|
|
|
optional("org.springframework.amqp:spring-rabbit")
|
2021-07-21 02:19:09 +08:00
|
|
|
optional("org.springframework.amqp:spring-rabbit-stream")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("org.springframework.kafka:spring-kafka")
|
2021-12-01 04:32:16 +08:00
|
|
|
optional("org.springframework.ws:spring-ws-core") {
|
|
|
|
exclude group: "com.sun.mail", module: "jakarta.mail"
|
|
|
|
exclude group: "jakarta.platform", module: "jakarta.jakartaee-api"
|
|
|
|
exclude group: "org.eclipse.jetty", module: "jetty-server"
|
|
|
|
exclude group: "org.eclipse.jetty", module: "jetty-servlet"
|
|
|
|
exclude group: "jakarta.mail", module: "jakarta.mail-api"
|
|
|
|
}
|
2022-01-06 21:28:05 +08:00
|
|
|
optional("org.thymeleaf:thymeleaf")
|
2022-01-06 21:26:50 +08:00
|
|
|
optional("org.thymeleaf:thymeleaf-spring6")
|
|
|
|
optional("org.thymeleaf.extras:thymeleaf-extras-springsecurity6")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("redis.clients:jedis")
|
2020-01-10 21:48:43 +08:00
|
|
|
|
2020-01-23 06:09:17 +08:00
|
|
|
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
|
|
|
testImplementation(project(":spring-boot-project:spring-boot-test"))
|
|
|
|
testImplementation("ch.qos.logback:logback-classic")
|
|
|
|
testImplementation("commons-fileupload:commons-fileupload")
|
2021-11-11 03:14:54 +08:00
|
|
|
testImplementation("com.github.h-thurow:simple-jndi")
|
2020-07-29 21:10:25 +08:00
|
|
|
testImplementation("com.ibm.db2:jcc")
|
2020-01-23 06:09:17 +08:00
|
|
|
testImplementation("com.jayway.jsonpath:json-path")
|
2022-10-17 07:09:31 +08:00
|
|
|
testImplementation("com.mysql:mysql-connector-j")
|
2022-07-20 19:57:17 +08:00
|
|
|
testImplementation("com.querydsl:querydsl-core")
|
2020-01-23 06:09:17 +08:00
|
|
|
testImplementation("com.squareup.okhttp3:mockwebserver")
|
|
|
|
testImplementation("com.sun.xml.messaging.saaj:saaj-impl")
|
2020-02-19 22:42:13 +08:00
|
|
|
testImplementation("io.projectreactor:reactor-test")
|
2020-02-19 21:41:06 +08:00
|
|
|
testImplementation("io.r2dbc:r2dbc-h2")
|
2020-01-23 06:09:17 +08:00
|
|
|
testImplementation("jakarta.json:jakarta.json-api")
|
|
|
|
testImplementation("jakarta.xml.ws:jakarta.xml.ws-api")
|
|
|
|
testImplementation("org.apache.logging.log4j:log4j-to-slf4j")
|
|
|
|
testImplementation("org.apache.tomcat.embed:tomcat-embed-jasper")
|
|
|
|
testImplementation("org.assertj:assertj-core")
|
|
|
|
testImplementation("org.awaitility:awaitility")
|
2021-11-12 01:46:29 +08:00
|
|
|
testImplementation("org.eclipse:yasson")
|
2020-01-23 06:09:17 +08:00
|
|
|
testImplementation("org.hsqldb:hsqldb")
|
|
|
|
testImplementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter")
|
2020-02-07 23:48:44 +08:00
|
|
|
testImplementation("org.mockito:mockito-core")
|
2020-08-08 22:53:42 +08:00
|
|
|
testImplementation("org.mockito:mockito-junit-jupiter")
|
2022-04-04 10:00:20 +08:00
|
|
|
testImplementation("org.skyscreamer:jsonassert")
|
2020-01-23 06:09:17 +08:00
|
|
|
testImplementation("org.springframework:spring-test")
|
2022-10-18 17:56:50 +08:00
|
|
|
testImplementation("org.springframework:spring-core-test")
|
2022-07-20 19:57:17 +08:00
|
|
|
testImplementation("org.springframework.graphql:spring-graphql-test")
|
2020-01-23 06:09:17 +08:00
|
|
|
testImplementation("org.springframework.kafka:spring-kafka-test")
|
|
|
|
testImplementation("org.springframework.security:spring-security-test")
|
|
|
|
testImplementation("org.testcontainers:cassandra")
|
2020-04-14 14:47:08 +08:00
|
|
|
testImplementation("org.testcontainers:couchbase")
|
2020-01-23 06:09:17 +08:00
|
|
|
testImplementation("org.testcontainers:elasticsearch")
|
|
|
|
testImplementation("org.testcontainers:junit-jupiter")
|
2020-09-29 16:44:30 +08:00
|
|
|
testImplementation("org.testcontainers:mongodb")
|
2020-07-07 04:59:44 +08:00
|
|
|
testImplementation("org.testcontainers:neo4j")
|
2020-01-23 06:09:17 +08:00
|
|
|
testImplementation("org.testcontainers:testcontainers")
|
|
|
|
testImplementation("org.yaml:snakeyaml")
|
2020-01-10 21:48:43 +08:00
|
|
|
|
2021-11-13 01:54:32 +08:00
|
|
|
testRuntimeOnly("jakarta.management.j2ee:jakarta.management.j2ee-api")
|
2020-01-23 06:09:17 +08:00
|
|
|
testRuntimeOnly("org.jetbrains.kotlin:kotlin-reflect")
|
2020-01-10 21:48:43 +08:00
|
|
|
}
|
2022-07-29 19:35:54 +08:00
|
|
|
|
|
|
|
tasks.named("checkSpringConfigurationMetadata").configure {
|
|
|
|
exclusions = [
|
|
|
|
"spring.datasource.dbcp2.*",
|
|
|
|
"spring.datasource.hikari.*",
|
|
|
|
"spring.datasource.oracleucp.*",
|
|
|
|
"spring.datasource.tomcat.*",
|
|
|
|
"spring.groovy.template.configuration.*"
|
|
|
|
]
|
2022-10-18 17:56:50 +08:00
|
|
|
}
|
2022-11-06 09:45:00 +08:00
|
|
|
|
|
|
|
test {
|
|
|
|
jvmArgs += "--add-opens=java.base/java.net=ALL-UNNAMED"
|
|
|
|
}
|