fix procedure syntax

This commit is contained in:
xuwei-k 2018-05-23 13:15:49 +09:00
parent 3b1207e9c2
commit b3fd3ce7e4
2 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,7 @@ object DependencyGraphSettings {
def printFromGraph(f: ModuleGraph String) =
Def.task { streams.value.log.info(f(moduleGraph.value)) }
def showLicenseInfo(graph: ModuleGraph, streams: TaskStreams) {
def showLicenseInfo(graph: ModuleGraph, streams: TaskStreams): Unit = {
val output =
graph.nodes.filter(_.isUsed).groupBy(_.license).toSeq.sortBy(_._1).map {
case (license, modules)

View File

@ -21,7 +21,7 @@ import net.virtualvoid.sbt.graph.ModuleGraph
import scala.xml.XML
object GraphML {
def saveAsGraphML(graph: ModuleGraph, outputFile: String) {
def saveAsGraphML(graph: ModuleGraph, outputFile: String): Unit = {
val nodesXml =
for (n graph.nodes)
yield <node id={ n.id.idString }><data key="d0">