Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix warnings. Resolver.sonatypeRepo => Resolver.sonatypeOssRepos #434

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

xuwei-k
Copy link
Member

@xuwei-k xuwei-k commented Oct 8, 2023

@deprecated(
"""Use sonatypeOssRepos instead e.g. `resolvers ++= Resolver.sonatypeOssRepos("snapshots")`""",
"1.7.0"
)
def sonatypeRepo(status: String) =

/home/runner/work/librarymanagement/librarymanagement/build.sbt:47: warning: method sonatypeRepo in class ResolverFunctions is deprecated (since 1.7.0): Use sonatypeOssRepos instead e.g. `resolvers ++= Resolver.sonatypeOssRepos("snapshots")`
  resolvers += Resolver.sonatypeRepo("snapshots"),
                        ^
/home/runner/work/librarymanagement/librarymanagement/build.sbt:54: warning: method sonatypeRepo in class ResolverFunctions is deprecated (since 1.7.0): Use sonatypeOssRepos instead e.g. `resolvers ++= Resolver.sonatypeOssRepos("snapshots")`
  resolvers += Resolver.sonatypeRepo("public"),
                        ^

@eed3si9n eed3si9n merged commit 54011d5 into sbt:develop Oct 9, 2023
3 of 4 checks passed
@xuwei-k xuwei-k deleted the Resolver-sonatypeOssRepos branch October 9, 2023 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants