2025-06-21 08:20:50 +08:00
|
|
|
/*
|
|
|
|
* Copyright 2012-present the original author or authors.
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the License);
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* https://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
|
2020-01-10 21:48:43 +08:00
|
|
|
plugins {
|
2020-01-23 03:24:37 +08:00
|
|
|
id "java-library"
|
2025-05-22 23:03:13 +08:00
|
|
|
id "java-test-fixtures"
|
2020-01-23 03:24:37 +08:00
|
|
|
id "org.springframework.boot.configuration-properties"
|
|
|
|
id "org.springframework.boot.optional-dependencies"
|
|
|
|
id "org.springframework.boot.deployed"
|
2020-01-10 21:48:43 +08:00
|
|
|
}
|
|
|
|
|
2020-01-23 03:24:37 +08:00
|
|
|
description = "Spring Boot Actuator"
|
2020-01-10 21:48:43 +08:00
|
|
|
|
|
|
|
dependencies {
|
2025-07-09 06:58:43 +08:00
|
|
|
api(project(":core:spring-boot"))
|
2024-09-25 04:52:39 +08:00
|
|
|
|
2025-07-09 06:58:43 +08:00
|
|
|
optional(project(":module:spring-boot-health"))
|
|
|
|
optional(project(":module:spring-boot-http-converter"))
|
|
|
|
optional(project(":module:spring-boot-jsonb"))
|
|
|
|
optional(project(":module:spring-boot-validation"))
|
|
|
|
optional(project(":module:spring-boot-web-server"))
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("com.github.ben-manes.caffeine:caffeine")
|
2025-05-09 20:08:18 +08:00
|
|
|
optional("com.google.code.findbugs:jsr305")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("com.zaxxer:HikariCP")
|
|
|
|
optional("io.lettuce:lettuce-core")
|
2022-03-10 21:59:05 +08:00
|
|
|
optional("io.micrometer:micrometer-observation")
|
2023-10-10 23:39:12 +08:00
|
|
|
optional("io.micrometer:micrometer-jakarta9")
|
2022-07-08 20:01:13 +08:00
|
|
|
optional("io.micrometer:micrometer-tracing")
|
2024-03-18 22:18:43 +08:00
|
|
|
optional("io.micrometer:micrometer-registry-prometheus")
|
2024-03-12 04:35:56 +08:00
|
|
|
optional("io.micrometer:micrometer-registry-prometheus-simpleclient")
|
2024-03-18 22:18:43 +08:00
|
|
|
optional("io.prometheus:prometheus-metrics-exposition-formats")
|
2025-02-04 19:06:28 +08:00
|
|
|
optional("io.prometheus:prometheus-metrics-exporter-pushgateway")
|
2025-05-30 01:17:12 +08:00
|
|
|
optional("jakarta.servlet:jakarta.servlet-api")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("javax.cache:cache-api")
|
|
|
|
optional("org.aspectj:aspectjweaver")
|
2022-11-07 04:20:58 +08:00
|
|
|
optional("org.eclipse.angus:angus-mail")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("org.hibernate.validator:hibernate-validator")
|
|
|
|
optional("org.influxdb:influxdb-java")
|
2025-05-09 22:19:52 +08:00
|
|
|
optional("org.springframework:spring-context-support")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("org.springframework:spring-jdbc")
|
|
|
|
optional("org.springframework:spring-messaging")
|
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.security:spring-security-core")
|
|
|
|
optional("org.springframework.security:spring-security-web")
|
2025-07-23 02:36:19 +08:00
|
|
|
optional("tools.jackson.core:jackson-databind")
|
2025-05-22 23:03:13 +08:00
|
|
|
|
|
|
|
testFixturesImplementation("org.junit.jupiter:junit-jupiter-api")
|
|
|
|
testFixturesImplementation("org.springframework:spring-test")
|
2025-05-30 18:06:09 +08:00
|
|
|
testFixturesImplementation("org.springframework:spring-webflux")
|
2020-01-10 21:48:43 +08:00
|
|
|
|
2025-07-09 06:58:43 +08:00
|
|
|
testImplementation(project(":core:spring-boot-autoconfigure"))
|
|
|
|
testImplementation(project(":core:spring-boot-test"))
|
|
|
|
testImplementation(project(":module:spring-boot-jackson"))
|
|
|
|
testImplementation(project(":module:spring-boot-jsonb"))
|
|
|
|
testImplementation(project(":test-support:spring-boot-test-support"))
|
2022-09-28 04:19:01 +08:00
|
|
|
testImplementation("io.micrometer:micrometer-observation-test")
|
2020-01-23 06:09:17 +08:00
|
|
|
testImplementation("io.projectreactor:reactor-test")
|
2023-04-06 19:25:21 +08:00
|
|
|
testImplementation("net.minidev:json-smart")
|
2020-01-23 06:09:17 +08:00
|
|
|
testImplementation("org.apache.logging.log4j:log4j-to-slf4j")
|
2020-01-10 21:48:43 +08:00
|
|
|
|
2025-07-09 06:58:43 +08:00
|
|
|
testRuntimeOnly(project(":module:spring-boot-http-codec"))
|
2021-01-21 03:40:22 +08:00
|
|
|
testRuntimeOnly("ch.qos.logback:logback-classic")
|
2020-08-04 19:26:47 +08:00
|
|
|
testRuntimeOnly("io.projectreactor.netty:reactor-netty-http")
|
2021-11-13 01:54:32 +08:00
|
|
|
testRuntimeOnly("jakarta.xml.bind:jakarta.xml.bind-api")
|
2020-01-23 06:09:17 +08:00
|
|
|
testRuntimeOnly("org.apache.tomcat.embed:tomcat-embed-el")
|
|
|
|
testRuntimeOnly("org.hsqldb:hsqldb")
|
2020-01-10 21:48:43 +08:00
|
|
|
}
|
2025-09-03 21:43:32 +08:00
|
|
|
|
|
|
|
tasks.named("compileTestJava") {
|
|
|
|
options.nullability.checking = "tests"
|
|
|
|
}
|