From cd95a7de59676bc2fe8b15c1e8aa512e5d089b3c Mon Sep 17 00:00:00 2001 From: sh0hei Date: Thu, 1 Sep 2022 22:54:28 +0900 Subject: [PATCH] Use Resolver.sonatypeOssRepos, not sonatypeRepo https://github.com/sbt/sbt/releases/tag/v1.7.0: "Deprecates Resolver.sonatypeRepo and adds Resolver.sonatypeOssRepos, which includes https://s01.oss.sonatype.org/". --- build.sbt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/build.sbt b/build.sbt index 4410d26309..6158738d9e 100644 --- a/build.sbt +++ b/build.sbt @@ -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,