mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Include properties from test-autoconfigure in config props appendix
Closes gh-24486
This commit is contained in:
parent
39751fd692
commit
76198f9a8d
@ -60,6 +60,7 @@ dependencies {
|
||||
configurationProperties(project(path: ":spring-boot-project:spring-boot-actuator-autoconfigure", configuration: "configurationPropertiesMetadata"))
|
||||
configurationProperties(project(path: ":spring-boot-project:spring-boot-autoconfigure", configuration: "configurationPropertiesMetadata"))
|
||||
configurationProperties(project(path: ":spring-boot-project:spring-boot-devtools", configuration: "configurationPropertiesMetadata"))
|
||||
configurationProperties(project(path: ":spring-boot-project:spring-boot-test-autoconfigure", configuration: "configurationPropertiesMetadata"))
|
||||
|
||||
gradlePluginDocumentation(project(path: ":spring-boot-project:spring-boot-tools:spring-boot-gradle-plugin", configuration: "documentation"))
|
||||
|
||||
|
@ -82,6 +82,16 @@ dependencies {
|
||||
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
||||
}
|
||||
|
||||
configurations {
|
||||
configurationPropertiesMetadata
|
||||
}
|
||||
|
||||
artifacts {
|
||||
configurationPropertiesMetadata new File(sourceSets.main.output.resourcesDir, "META-INF/spring-configuration-metadata.json"), { artifact ->
|
||||
artifact.builtBy sourceSets.main.processResourcesTaskName
|
||||
}
|
||||
}
|
||||
|
||||
test {
|
||||
include "**/*Tests.class"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user