From 1896566bc828a10577ab8596ac829fc1b4962e72 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 11 Aug 2020 14:33:27 +0100 Subject: [PATCH] Avoid duplicates with different versions in Devtools' int test deps Closes gh-22887 --- spring-boot-project/spring-boot-devtools/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-devtools/build.gradle b/spring-boot-project/spring-boot-devtools/build.gradle index 15d7070024a..7ddd849d5b1 100644 --- a/spring-boot-project/spring-boot-devtools/build.gradle +++ b/spring-boot-project/spring-boot-devtools/build.gradle @@ -76,7 +76,7 @@ dependencies { testRuntimeOnly("org.yaml:snakeyaml") } -task copyIntTestDependencies(type: Copy) { +task syncIntTestDependencies(type: Sync) { destinationDir = file("${buildDir}/dependencies") from { configurations.intTestDependencies @@ -85,5 +85,5 @@ task copyIntTestDependencies(type: Copy) { } intTest { - dependsOn copyIntTestDependencies + dependsOn syncIntTestDependencies }