url returns java.net.URI

This commit is contained in:
Eugene Yokota 2024-12-05 01:16:04 -05:00
parent 8bf9ecaba3
commit 11b0231b17
1 changed files with 1 additions and 1 deletions

View File

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