remove compile warning by handling unexpected configurations

This commit is contained in:
Johannes Rudolph 2012-05-23 12:32:15 +02:00
parent 18d2663a88
commit 05dce31593
1 changed files with 2 additions and 0 deletions

View File

@ -63,5 +63,7 @@ object Plugin extends sbt.Plugin {
def crossName(ivyModule: IvySbt#Module) =
ivyModule.moduleSettings match {
case ic: InlineConfiguration => ic.module.name
case _ =>
throw new IllegalStateException("sbt-dependency-graph plugin currently only supports InlineConfiguration of ivy settings (the default in sbt)")
}
}