mirror of https://github.com/sbt/sbt.git
Use https in scala url
This commit is contained in:
parent
c34de173ea
commit
9e165b01d9
|
|
@ -24,7 +24,7 @@ val bResolver = Def.setting {
|
|||
|
||||
val apiBaseSetting = apiURL := Some(apiBase(name.value))
|
||||
def apiBase(projectName: String) = url(s"http://example.org/${projectName}")
|
||||
def scalaLibraryBase(v: String) = url(s"http://www.scala-lang.org/api/$v/")
|
||||
def scalaLibraryBase(v: String) = url(s"https://www.scala-lang.org/api/$v/")
|
||||
def addDep(projectName: String) =
|
||||
libraryDependencies += organization.value %% projectName % version.value
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue