mirror of https://github.com/sbt/sbt.git
url returns java.net.URI
This commit is contained in:
parent
8bf9ecaba3
commit
11b0231b17
|
|
@ -40,7 +40,7 @@ package object sbt
|
|||
// IO
|
||||
def uri(s: String): URI = new URI(s)
|
||||
def file(s: String): File = new File(s)
|
||||
def url(s: String): URL = new URI(s).toURL
|
||||
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 =
|
||||
sbt.io.PathFinder.strict(cc)
|
||||
|
|
|
|||
Loading…
Reference in New Issue