mirror of
https://github.com/sbt/sbt.git
synced 2026-09-04 16:54:29 +02:00
[2.x] Deprecate url(...)
**Problem** In sbt 2.x url already reaturns URI, but it's somewhat confusing. **Solution** Deprecate it instead.
This commit is contained in:
@@ -39,6 +39,8 @@ package object sbt
|
||||
// IO
|
||||
def uri(s: String): URI = new URI(s)
|
||||
def file(s: String): File = new File(s)
|
||||
|
||||
@deprecated("Use uri(...) instead", "2.0.2")
|
||||
def url(s: String): URI = new URI(s)
|
||||
implicit def fileToRichFile(file: File): sbt.io.RichFile = new sbt.io.RichFile(file)
|
||||
implicit def filesToFinder(cc: Iterable[File]): sbt.io.PathFinder =
|
||||
|
||||
Reference in New Issue
Block a user