mirror of https://github.com/sbt/sbt.git
sonatypeRepos -> sonatypeOssRepos
This commit is contained in:
parent
c17309a914
commit
7a2f81ea05
|
|
@ -155,7 +155,7 @@ private[librarymanagement] abstract class ResolverFunctions {
|
|||
url("sbt-plugin-" + status, new URL(SbtRepositoryRoot + "/sbt-plugin-" + status + "/"))(
|
||||
ivyStylePatterns
|
||||
)
|
||||
@deprecated("Use sonatypeRepos instead", "1.7.0")
|
||||
@deprecated("Use sonatypeOssRepos instead", "1.7.0")
|
||||
def sonatypeRepo(status: String) =
|
||||
MavenRepository(
|
||||
"sonatype-" + status,
|
||||
|
|
@ -167,7 +167,7 @@ private[librarymanagement] abstract class ResolverFunctions {
|
|||
"sonatype-s01-" + status,
|
||||
SonatypeS01RepositoryRoot + "/" + status
|
||||
)
|
||||
def sonatypeRepos(status: String) =
|
||||
def sonatypeOssRepos(status: String) =
|
||||
Vector(sonatypeRepo(status): @nowarn("cat=deprecation"), sonatypeS01Repo(status))
|
||||
def bintrayRepo(owner: String, repo: String) =
|
||||
MavenRepository(s"bintray-$owner-$repo", s"https://dl.bintray.com/$owner/$repo/")
|
||||
|
|
|
|||
Loading…
Reference in New Issue