diff options
Diffstat (limited to 'stage2')
-rw-r--r-- | stage2/AdminTasks.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/stage2/AdminTasks.scala b/stage2/AdminTasks.scala index da4df9f..f825cc1 100644 --- a/stage2/AdminTasks.scala +++ b/stage2/AdminTasks.scala @@ -12,6 +12,13 @@ class AdminTasks(lib: Lib, args: Array[String], cwd: File){ } ) } + def dependencyTree = { + args(1).split(",").toVector.map{ + d => + val v = d.split(":") + new JavaDependency(v(0),v(1),v(2))(lib.logger).dependencyTree + }.mkString("\n\n") + } def amm = ammonite def ammonite = { val version = args.lift(1).getOrElse(constants.scalaVersion) |