add resolveDependencies gradle task (#4302)

This commit is contained in:
Milan 2021-01-10 21:39:50 +01:00 committed by GitHub
parent 21f05c9d8a
commit 96c8e0f415
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -410,3 +410,13 @@ task deployAll{
dependsOn "server:deploy"
dependsOn "android:deploy"
}
task resolveDependencies{
doLast{
rootProject.allprojects{project ->
Set<Configuration> configurations = project.buildscript.configurations + project.configurations
configurations.findAll{c -> c.canBeResolved}
.forEach{c -> c.resolve()}
}
}
}