Skip to content

Commit 1896566

Browse files
committed
Avoid duplicates with different versions in Devtools' int test deps
Closes gh-22887
1 parent 289797b commit 1896566

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-devtools/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ dependencies {
7676
testRuntimeOnly("org.yaml:snakeyaml")
7777
}
7878

79-
task copyIntTestDependencies(type: Copy) {
79+
task syncIntTestDependencies(type: Sync) {
8080
destinationDir = file("${buildDir}/dependencies")
8181
from {
8282
configurations.intTestDependencies
@@ -85,5 +85,5 @@ task copyIntTestDependencies(type: Copy) {
8585
}
8686

8787
intTest {
88-
dependsOn copyIntTestDependencies
88+
dependsOn syncIntTestDependencies
8989
}

0 commit comments

Comments
 (0)