File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
spring-boot-test-autoconfigure Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ dependencies {
6060 configurationProperties(project(path : " :spring-boot-project:spring-boot-actuator-autoconfigure" , configuration : " configurationPropertiesMetadata" ))
6161 configurationProperties(project(path : " :spring-boot-project:spring-boot-autoconfigure" , configuration : " configurationPropertiesMetadata" ))
6262 configurationProperties(project(path : " :spring-boot-project:spring-boot-devtools" , configuration : " configurationPropertiesMetadata" ))
63+ configurationProperties(project(path : " :spring-boot-project:spring-boot-test-autoconfigure" , configuration : " configurationPropertiesMetadata" ))
6364
6465 gradlePluginDocumentation(project(path : " :spring-boot-project:spring-boot-tools:spring-boot-gradle-plugin" , configuration : " documentation" ))
6566
Original file line number Diff line number Diff line change @@ -82,6 +82,16 @@ dependencies {
8282 testRuntimeOnly(" org.junit.platform:junit-platform-launcher" )
8383}
8484
85+ configurations {
86+ configurationPropertiesMetadata
87+ }
88+
89+ artifacts {
90+ configurationPropertiesMetadata new File (sourceSets. main. output. resourcesDir, " META-INF/spring-configuration-metadata.json" ), { artifact ->
91+ artifact. builtBy sourceSets. main. processResourcesTaskName
92+ }
93+ }
94+
8595test {
8696 include " **/*Tests.class"
8797}
You can’t perform that action at this time.
0 commit comments