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 SBT warnings #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

YannMoisan
Copy link

Fix all SBT warnings. There are only two different warnings :

warning: method in in trait ScopingSetting is deprecated (since 1.5.0): `in` is deprecated; migrate to slash syntax - https://www.scala-sbt.org/1.x/docs/Migrating-from-sbt-013x.html#slash
warning: method sonatypeRepo in class ResolverFunctions is deprecated (since 1.7.0): Use sonatypeOssRepos instead e.g. `resolvers ++= Resolver.sonatypeOssRepos("snapshots")

Copy link

sweep-ai bot commented May 21, 2024

Sweep: PR Review

src/main/g8/build.sbt

The changes update SBT syntax to a more current form and simplify the resolver configuration without altering the functional behavior of the code.

Potential Issues

Sweep isn't 100% sure if the following are issues or not but they may be worth taking a look at.

  • The change to the resolver configuration might inadvertently alter the order of resolvers, potentially affecting dependency resolution.
  • resolvers ++= Seq(
    "sonatype-releases" at "https://oss.sonatype.org/content/repositories/releases/",
    "Typesafe repository" at "https://repo.typesafe.com/typesafe/releases/",
    "Second Typesafe repo" at "https://repo.typesafe.com/typesafe/maven-releases/"
    ) ++ Resolver.sonatypeOssRepos("public"),

    View Diff


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.

1 participant