Skip to content

Commit

Permalink
Use Resolver.sonatypeOssRepos, not sonatypeRepo
Browse files Browse the repository at this point in the history
https://github.com/sbt/sbt/releases/tag/v1.7.0:

"Deprecates Resolver.sonatypeRepo and adds Resolver.sonatypeOssRepos,
which includes https://s01.oss.sonatype.org/".
  • Loading branch information
sh0hei authored and kitbellew committed Mar 28, 2023
1 parent a56d056 commit cd95a7d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,8 @@ inThisBuild(
),
scalaVersion := scala213,
crossScalaVersions := List(scala213, scala212),
resolvers ++= Seq(
Resolver.sonatypeRepo("releases"),
Resolver.sonatypeRepo("snapshots")
),
resolvers ++= Resolver.sonatypeOssRepos("releases"),
resolvers ++= Resolver.sonatypeOssRepos("snapshots"),
libraryDependencies ++= List(
munit.value % Test,
scalacheck % Test,
Expand Down

0 comments on commit cd95a7d

Please sign in to comment.