Better deprecation message for `sonatypeRepo`

This commit is contained in:
Arman Bilge 2022-07-29 19:32:14 -07:00 committed by GitHub
parent c992a314a1
commit d2fba6fde0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ private[librarymanagement] abstract class ResolverFunctions {
url("sbt-plugin-" + status, new URL(SbtRepositoryRoot + "/sbt-plugin-" + status + "/"))(
ivyStylePatterns
)
@deprecated("Use sonatypeOssRepos instead", "1.7.0")
@deprecated("""Use sonatypeOssRepos instead e.g. `resolvers ++= Resolver.sonatypeOssRepos("snapshots")`""", "1.7.0")
def sonatypeRepo(status: String) =
MavenRepository(
"sonatype-" + status,