Fix all deprecations in resolveAllDependencies (#59751)
This fixes #59743
This commit is contained in:
parent
4827fec1cf
commit
11b6bba984
|
@ -442,10 +442,8 @@ allprojects {
|
||||||
dependsOn tasks.withType(ComposePull)
|
dependsOn tasks.withType(ComposePull)
|
||||||
}
|
}
|
||||||
doLast {
|
doLast {
|
||||||
configurations.findAll {
|
configurations.findAll { it.isCanBeResolved() &&
|
||||||
it.isCanBeResolved() &&
|
((it instanceof org.gradle.internal.deprecation.DeprecatableConfiguration) && it.canSafelyBeResolved())
|
||||||
it.name.equals("testCompile") == false &&
|
|
||||||
it.name.equals("compile") == false
|
|
||||||
}.each { it.resolve() }
|
}.each { it.resolve() }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue