mirror of https://github.com/sbt/sbt.git
Better deprecation message for `sonatypeRepo`
This commit is contained in:
parent
c992a314a1
commit
d2fba6fde0
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue