mirror of https://github.com/sbt/sbt.git
Fixed local Maven repo reference for Windows.
parent
713e6cdfe5
commit
eb54b77bbd
|
|
@ -131,7 +131,7 @@ resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repos
|
|||
sbt can search your local Maven repository if you add it as a repository:
|
||||
|
||||
```scala
|
||||
resolvers += "Local Maven Repository" at "file://"+Path.userHome.absolutePath+"/.m2/repository"
|
||||
resolvers += "Local Maven Repository" at "file://"+Path.userHome.asFile.toURI.toURL+"/.m2/repository"
|
||||
```
|
||||
|
||||
See [[Resolvers]] for details on defining other types of repositories.
|
||||
|
|
|
|||
Loading…
Reference in New Issue