mirror of https://github.com/sbt/sbt.git
Special treatment for a special resolver: inter-project
This commit is contained in:
parent
8e682691c2
commit
333eb706b0
|
|
@ -373,6 +373,7 @@ private object IvySbt {
|
||||||
// Now that we know the real latest revision, let's force Ivy to use it
|
// Now that we know the real latest revision, let's force Ivy to use it
|
||||||
val artifactOpt = findFirstArtifactRef(rmr.getDescriptor, dd, data, resolver)
|
val artifactOpt = findFirstArtifactRef(rmr.getDescriptor, dd, data, resolver)
|
||||||
artifactOpt match {
|
artifactOpt match {
|
||||||
|
case None if resolver.getName == "inter-project" => // do nothing
|
||||||
case None => throw new RuntimeException("\t" + resolver.getName
|
case None => throw new RuntimeException("\t" + resolver.getName
|
||||||
+ ": no ivy file nor artifact found for " + rmr)
|
+ ": no ivy file nor artifact found for " + rmr)
|
||||||
case Some(artifactRef) =>
|
case Some(artifactRef) =>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue