diff --git a/spring-boot-project/spring-boot-devtools/build.gradle b/spring-boot-project/spring-boot-devtools/build.gradle index f906de163bf..3c1d96e2fab 100644 --- a/spring-boot-project/spring-boot-devtools/build.gradle +++ b/spring-boot-project/spring-boot-devtools/build.gradle @@ -74,7 +74,7 @@ dependencies { testRuntimeOnly("org.yaml:snakeyaml") } -task copyIntTestDependencies(type: Copy) { +task syncIntTestDependencies(type: Sync) { destinationDir = file("${buildDir}/dependencies") from { configurations.intTestDependencies @@ -83,5 +83,5 @@ task copyIntTestDependencies(type: Copy) { } intTest { - dependsOn copyIntTestDependencies + dependsOn syncIntTestDependencies }