Skip to content

Commit fca2698

Browse files
committed
Fix the sonatypeRepo deprecated warning.
1 parent 8b8205b commit fca2698

File tree

21 files changed

+24
-24
lines changed

21 files changed

+24
-24
lines changed

src/sbt-test/scoverage/aggregate-disabled-module/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ lazy val c = project.disablePlugins(ScoverageSbtPlugin)
1212

1313
ThisBuild / resolvers ++= {
1414
if (sys.props.get("plugin.version").exists(_.endsWith("-SNAPSHOT")))
15-
Seq(Resolver.sonatypeRepo("snapshots"))
15+
Resolver.sonatypeOssRepos("snapshots")
1616
else Seq.empty
1717
}

src/sbt-test/scoverage/aggregate-only/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ lazy val root = (project in file("."))
3535

3636
ThisBuild / resolvers ++= {
3737
if (sys.props.get("plugin.version").exists(_.endsWith("-SNAPSHOT")))
38-
Seq(Resolver.sonatypeRepo("snapshots"))
38+
Resolver.sonatypeOssRepos("snapshots")
3939
else Seq.empty
4040
}

src/sbt-test/scoverage/aggregate/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ lazy val root = (project in file("."))
3535

3636
ThisBuild / resolvers ++= {
3737
if (sys.props.get("plugin.version").exists(_.endsWith("-SNAPSHOT")))
38-
Seq(Resolver.sonatypeRepo("snapshots"))
38+
Resolver.sonatypeOssRepos("snapshots")
3939
else Seq.empty
4040
}

src/sbt-test/scoverage/bad-coverage-file-branch/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ resolvers ++= {
1414
.get("plugin.version")
1515
.map(_.endsWith("-SNAPSHOT"))
1616
.getOrElse(false)
17-
) Seq(Resolver.sonatypeRepo("snapshots"))
17+
) Resolver.sonatypeOssRepos("snapshots")
1818
else Seq.empty
1919
}

src/sbt-test/scoverage/bad-coverage-file-stmt/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ resolvers ++= {
1414
.get("plugin.version")
1515
.map(_.endsWith("-SNAPSHOT"))
1616
.getOrElse(false)
17-
) Seq(Resolver.sonatypeRepo("snapshots"))
17+
) Resolver.sonatypeOssRepos("snapshots")
1818
else Seq.empty
1919
}

src/sbt-test/scoverage/bad-coverage-package-branch/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ resolvers ++= {
1414
.get("plugin.version")
1515
.map(_.endsWith("-SNAPSHOT"))
1616
.getOrElse(false)
17-
) Seq(Resolver.sonatypeRepo("snapshots"))
17+
) Resolver.sonatypeOssRepos("snapshots")
1818
else Seq.empty
1919
}

src/sbt-test/scoverage/bad-coverage-package-stmt/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ resolvers ++= {
1414
.get("plugin.version")
1515
.map(_.endsWith("-SNAPSHOT"))
1616
.getOrElse(false)
17-
) Seq(Resolver.sonatypeRepo("snapshots"))
17+
) Resolver.sonatypeOssRepos("snapshots")
1818
else Seq.empty
1919
}

src/sbt-test/scoverage/bad-coverage-total-branch/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ resolvers ++= {
1414
.get("plugin.version")
1515
.map(_.endsWith("-SNAPSHOT"))
1616
.getOrElse(false)
17-
) Seq(Resolver.sonatypeRepo("snapshots"))
17+
) Resolver.sonatypeOssRepos("snapshots")
1818
else Seq.empty
1919
}

src/sbt-test/scoverage/bad-coverage-total-stmt/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ resolvers ++= {
1414
.get("plugin.version")
1515
.map(_.endsWith("-SNAPSHOT"))
1616
.getOrElse(false)
17-
) Seq(Resolver.sonatypeRepo("snapshots"))
17+
) Resolver.sonatypeOssRepos("snapshots")
1818
else Seq.empty
1919
}

src/sbt-test/scoverage/bad-coverage/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ coverageFailOnMinimum := true
1010

1111
resolvers ++= {
1212
if (sys.props.get("plugin.version").exists(_.endsWith("-SNAPSHOT")))
13-
Seq(Resolver.sonatypeRepo("snapshots"))
13+
Resolver.sonatypeOssRepos("snapshots")
1414
else Seq.empty
1515
}

0 commit comments

Comments
 (0)