mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
--projectInfo.
This commit is contained in:
parent
b8cdd96240
commit
c776f214cd
3 changed files with 16 additions and 5 deletions
|
@ -195,9 +195,14 @@ private class Main @Inject constructor(
|
|||
|
||||
log(2, "Final list of repos:\n " + Kobalt.repos.joinToString("\n "))
|
||||
|
||||
if (args.dependency != null) {
|
||||
if (args.projectInfo) {
|
||||
// --projectInfo
|
||||
allProjects.forEach {
|
||||
resolveDependency.run(it.compileDependencies.map {it.id})
|
||||
}
|
||||
} else if (args.dependencies != null) {
|
||||
// --resolve
|
||||
resolveDependency.run(args.dependency as String)
|
||||
resolveDependency.run(args.dependencies!!.split(",").toList())
|
||||
} else if (args.tasks) {
|
||||
// --tasks
|
||||
displayTasks()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue