mirror of https://github.com/sbt/sbt.git
Merge pull request #404 from armanbilge/patch-1
Better deprecation message for `sonatypeRepo`
This commit is contained in:
commit
8b016c7555
|
|
@ -155,7 +155,10 @@ private[librarymanagement] abstract class ResolverFunctions {
|
||||||
url("sbt-plugin-" + status, new URL(SbtRepositoryRoot + "/sbt-plugin-" + status + "/"))(
|
url("sbt-plugin-" + status, new URL(SbtRepositoryRoot + "/sbt-plugin-" + status + "/"))(
|
||||||
ivyStylePatterns
|
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) =
|
def sonatypeRepo(status: String) =
|
||||||
MavenRepository(
|
MavenRepository(
|
||||||
"sonatype-" + status,
|
"sonatype-" + status,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue