Skip to content

Commit

Permalink
Drop ProjectReference implicit lifts
Browse files Browse the repository at this point in the history
  • Loading branch information
dwijnand committed Apr 11, 2017
1 parent cef287b commit 4a08b65
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
9 changes: 0 additions & 9 deletions main-settings/src/main/scala/sbt/Reference.scala
Expand Up @@ -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)
}
2 changes: 1 addition & 1 deletion sbt/src/sbt-test/compiler-project/src-dep-plugin/build.sbt
@@ -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
)
2 changes: 1 addition & 1 deletion sbt/src/sbt-test/project/src-plugins/project/p.sbt
@@ -1,2 +1,2 @@
lazy val root = (project in file(".")).
dependsOn(file("../plugin"))
dependsOn(RootProject(file("../plugin")))

0 comments on commit 4a08b65

Please sign in to comment.