mirror of https://github.com/sbt/sbt.git
Deprecate implicit RootProject/LocalProject calls on URI/File/String
Builds are using explicit calls anyway, so reduce the implicits.
This commit is contained in:
parent
7278fbc567
commit
0507a2a1a9
|
|
@ -98,7 +98,13 @@ object Reference
|
|||
case BuildRef(b) => Some(b)
|
||||
case _ => None
|
||||
}
|
||||
|
||||
@deprecated("Explicitly wrap the URI in a call to RootProject.", "0.13.0")
|
||||
implicit def uriToRef(u: URI): ProjectReference = RootProject(u)
|
||||
|
||||
@deprecated("Explicitly wrap the File in a call to RootProject.", "0.13.0")
|
||||
implicit def fileToRef(f: File): ProjectReference = RootProject(f)
|
||||
|
||||
@deprecated("Explicitly wrap the String in a call to LocalProject.", "0.13.0")
|
||||
implicit def stringToReference(s: String): ProjectReference = LocalProject(s)
|
||||
}
|
||||
Loading…
Reference in New Issue