Fix BOM attached sourceSet

See gh-23936
This commit is contained in:
Phillip Webb 2021-02-01 16:45:04 -08:00
parent 40c1748e3c
commit faaa5e4186
1 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ dependencies {
} }
task syncSpringBootDependenciesBom(type: Sync) { task syncSpringBootDependenciesBom(type: Sync) {
destinationDir = file("${buildDir}/generated/sources/dependencies-bom/org/springframework/boot/maven") destinationDir = file("${buildDir}/generated-resources/org/springframework/boot/maven")
from configurations.dependenciesBom from configurations.dependenciesBom
} }
@ -56,8 +56,8 @@ syncDocumentationSourceForAsciidoctor {
} }
sourceSets { sourceSets {
main { intTest {
output.dir("${buildDir}/generated/sources/dependencies-bom", builtBy: "syncSpringBootDependenciesBom") output.dir("${buildDir}/generated-resources", builtBy: "syncSpringBootDependenciesBom")
} }
} }