Skip to content

Commit

Permalink
Merge branch '2.3.x' into 2.4.x
Browse files Browse the repository at this point in the history
Closes gh-24518
  • Loading branch information
wilkinsona committed Dec 15, 2020
2 parents c6a64c4 + 76198f9 commit a67edfb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions spring-boot-project/spring-boot-docs/build.gradle
Expand Up @@ -61,6 +61,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"))

Expand Down
10 changes: 10 additions & 0 deletions spring-boot-project/spring-boot-test-autoconfigure/build.gradle
Expand Up @@ -88,6 +88,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"
}
Expand Down

0 comments on commit a67edfb

Please sign in to comment.