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 @@ -61,6 +61,7 @@ dependencies {
6161 configurationProperties(project(path : " :spring-boot-project:spring-boot-actuator-autoconfigure" , configuration : " configurationPropertiesMetadata" ))
6262 configurationProperties(project(path : " :spring-boot-project:spring-boot-autoconfigure" , configuration : " configurationPropertiesMetadata" ))
6363 configurationProperties(project(path : " :spring-boot-project:spring-boot-devtools" , configuration : " configurationPropertiesMetadata" ))
64+ configurationProperties(project(path : " :spring-boot-project:spring-boot-test-autoconfigure" , configuration : " configurationPropertiesMetadata" ))
6465
6566 gradlePluginDocumentation(project(path : " :spring-boot-project:spring-boot-tools:spring-boot-gradle-plugin" , configuration : " documentation" ))
6667
Original file line number Diff line number Diff line change @@ -88,6 +88,16 @@ dependencies {
8888 testRuntimeOnly(" org.junit.platform:junit-platform-launcher" )
8989}
9090
91+ configurations {
92+ configurationPropertiesMetadata
93+ }
94+
95+ artifacts {
96+ configurationPropertiesMetadata new File (sourceSets. main. output. resourcesDir, " META-INF/spring-configuration-metadata.json" ), { artifact ->
97+ artifact. builtBy sourceSets. main. processResourcesTaskName
98+ }
99+ }
100+
91101test {
92102 include " **/*Tests.class"
93103}
You can’t perform that action at this time.
0 commit comments