Drop ProjectReference implicit lifts

This commit is contained in:
Dale Wijnand 2017-04-11 13:28:52 +01:00
parent cef287b6e8
commit 4a08b65cb2
No known key found for this signature in database
GPG Key ID: 4F256E3D151DF5EF
3 changed files with 2 additions and 11 deletions

View File

@ -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)
}

View File

@ -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
)

View File

@ -1,2 +1,2 @@
lazy val root = (project in file(".")).
dependsOn(file("../plugin"))
dependsOn(RootProject(file("../plugin")))