Avoid duplicates with different versions in Devtools' int test deps

Closes gh-22887
This commit is contained in:
Andy Wilkinson
2020-08-11 14:33:27 +01:00
parent 289797b5d4
commit 1896566bc8
@@ -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
}