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-03-06 19:44:37 +08:00
|
|
|
id "java-test-fixtures"
|
2020-01-23 03:24:37 +08:00
|
|
|
id "org.springframework.boot.auto-configuration"
|
2023-04-15 05:55:03 +08:00
|
|
|
id "org.springframework.boot.configuration-properties"
|
2020-01-23 03:24:37 +08:00
|
|
|
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 {
|
2025-03-06 19:44:37 +08:00
|
|
|
api(project(":spring-boot-project:spring-boot"))
|
2020-01-10 21:48:43 +08:00
|
|
|
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("com.github.ben-manes.caffeine:caffeine")
|
2025-04-29 17:19:49 +08:00
|
|
|
optional("org.aspectj:aspectjweaver")
|
2025-03-20 01:07:28 +08:00
|
|
|
optional("jakarta.persistence:jakarta.persistence-api")
|
2025-03-06 19:44:37 +08:00
|
|
|
optional("jakarta.servlet:jakarta.servlet-api")
|
2025-03-27 22:05:55 +08:00
|
|
|
optional("javax.money:money-api")
|
|
|
|
optional("org.springframework:spring-web")
|
2025-03-21 18:44:31 +08:00
|
|
|
optional("org.springframework.data:spring-data-commons")
|
2020-01-10 21:48:43 +08:00
|
|
|
|
2025-03-12 01:41:17 +08:00
|
|
|
testFixturesCompileOnly(project(":spring-boot-project:spring-boot-test"))
|
|
|
|
testFixturesCompileOnly(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
2025-03-30 15:43:37 +08:00
|
|
|
testFixturesCompileOnly("javax.cache:cache-api")
|
2025-03-12 01:41:17 +08:00
|
|
|
testFixturesImplementation(testFixtures(project(":spring-boot-project:spring-boot")))
|
|
|
|
|
2025-03-18 22:17:07 +08:00
|
|
|
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
2025-03-12 01:41:17 +08:00
|
|
|
testImplementation(project(":spring-boot-project:spring-boot-test"))
|
2025-03-12 21:13:31 +08:00
|
|
|
testImplementation(testFixtures(project(":spring-boot-project:spring-boot")))
|
2020-01-23 06:09:17 +08:00
|
|
|
testImplementation("ch.qos.logback:logback-classic")
|
2025-03-06 19:44:37 +08:00
|
|
|
testImplementation("com.fasterxml.jackson.core:jackson-databind")
|
|
|
|
testImplementation("io.projectreactor:reactor-core")
|
|
|
|
testImplementation("org.springframework:spring-context-support")
|
2025-04-29 17:19:49 +08:00
|
|
|
testImplementation("org.springframework.security:spring-security-config")
|
2022-07-29 19:35:54 +08:00
|
|
|
|
2025-03-06 19:44:37 +08:00
|
|
|
testRuntimeOnly("com.github.ben-manes.caffeine:caffeine")
|
|
|
|
testRuntimeOnly("org.springframework:spring-webflux")
|
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"
|
|
|
|
}
|