Browse Source

Avoid duplicates with different versions in Devtools' int test deps

Closes gh-22887
pull/22996/head
Andy Wilkinson 5 years ago
parent
commit
1896566bc8
  1. 4
      spring-boot-project/spring-boot-devtools/build.gradle

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

@ -76,7 +76,7 @@ dependencies {
testRuntimeOnly("org.yaml:snakeyaml") testRuntimeOnly("org.yaml:snakeyaml")
} }
task copyIntTestDependencies(type: Copy) { task syncIntTestDependencies(type: Sync) {
destinationDir = file("${buildDir}/dependencies") destinationDir = file("${buildDir}/dependencies")
from { from {
configurations.intTestDependencies configurations.intTestDependencies
@ -85,5 +85,5 @@ task copyIntTestDependencies(type: Copy) {
} }
intTest { intTest {
dependsOn copyIntTestDependencies dependsOn syncIntTestDependencies
} }

Loading…
Cancel
Save