mirror of https://github.com/sbt/sbt.git
remove compile warning by handling unexpected configurations
This commit is contained in:
parent
18d2663a88
commit
05dce31593
|
|
@ -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)")
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue