Fix all deprecations in resolveAllDependencies (#59751)

This fixes #59743
This commit is contained in:
Rene Groeschke 2020-07-17 10:02:21 +02:00
parent 4827fec1cf
commit 11b6bba984
No known key found for this signature in database
GPG Key ID: B1782D97CBC64567
1 changed files with 2 additions and 4 deletions

View File

@ -442,10 +442,8 @@ allprojects {
dependsOn tasks.withType(ComposePull)
}
doLast {
configurations.findAll {
it.isCanBeResolved() &&
it.name.equals("testCompile") == false &&
it.name.equals("compile") == false
configurations.findAll { it.isCanBeResolved() &&
((it instanceof org.gradle.internal.deprecation.DeprecatableConfiguration) && it.canSafelyBeResolved())
}.each { it.resolve() }
}
}