mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-10 15:57:37 +07:00
add resolveDependencies gradle task (#4302)
This commit is contained in:
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()}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user