mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-12-22 21:14:13 +07:00
add resolveDependencies gradle task (#4302)
This commit is contained in:
parent
21f05c9d8a
commit
96c8e0f415
10
build.gradle
10
build.gradle
@ -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()}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user