mirror of https://github.com/sbt/sbt.git
Drop ProjectReference implicit lifts
This commit is contained in:
parent
cef287b6e8
commit
4a08b65cb2
|
|
@ -94,13 +94,4 @@ 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)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import Configurations.{CompilerPlugin => CPlugin}
|
||||
|
||||
lazy val use = project.dependsOn(file("def") % CPlugin).settings(
|
||||
lazy val use = project.dependsOn(RootProject(file("def")) % CPlugin).settings(
|
||||
autoCompilerPlugins := true
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
lazy val root = (project in file(".")).
|
||||
dependsOn(file("../plugin"))
|
||||
dependsOn(RootProject(file("../plugin")))
|
||||
|
|
|
|||
Loading…
Reference in New Issue