Removed extra slash in the localBasePattern

When the `scala_[scalaVersion]/` segment is present and the `/[branch]` segment isn't, an extra slash appears before `/[revision]`.
This commit is contained in:
Alexey Alekhin 2017-09-23 15:20:43 +02:00 committed by GitHub
parent 293666f653
commit 364ba9b44b
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@ abstract class ResolverFunctions {
def mavenStyleBasePattern =
"[organisation]/[module](_[scalaVersion])(_[sbtVersion])/[revision]/[artifact]-[revision](-[classifier]).[ext]"
def localBasePattern =
"[organisation]/[module]/" + PluginPattern + "(/[branch])/[revision]/[type]s/[artifact](-[classifier]).[ext]"
"[organisation]/[module]/" + PluginPattern + "([branch]/)[revision]/[type]s/[artifact](-[classifier]).[ext]"
def defaultRetrievePattern =
"[type]s/[organisation]/[module]/" + PluginPattern + "[artifact](-[revision])(-[classifier]).[ext]"
final val PluginPattern = "(scala_[scalaVersion]/)(sbt_[sbtVersion]/)"