File tree Expand file tree Collapse file tree 7 files changed +6
-20
lines changed
scalafix-rules/src/main/scala-3/pc
scalafix-tests/integration/src/test
scala-2/scalafix/tests/util/compat
scala/scalafix/tests/interfaces Expand file tree Collapse file tree 7 files changed +6
-20
lines changed Original file line number Diff line number Diff line change @@ -25,5 +25,4 @@ cs resolve \
2525 ch.epfl.scala:scalafix-testkit_$scala212 :$version \
2626 ch.epfl.scala:scalafix-testkit_$scala213 :$version \
2727 ch.epfl.scala:scalafix-testkit_$scala3LTS :$version \
28- ch.epfl.scala:scalafix-testkit_$scala3Next :$version \
29- -r sonatype:public
28+ ch.epfl.scala:scalafix-testkit_$scala3Next :$version
Original file line number Diff line number Diff line change @@ -778,9 +778,7 @@ custom repository like Bintray or a private Nexus.
778778``` scala
779779// build.sbt
780780ThisBuild / scalafixResolvers ++= List (
781- coursierapi.MavenRepository .of(" https://dl.bintray.com/scalacenter/releases" ),
782- coursierapi.MavenRepository .of(" https://oss.sonatype.org/content/repositories/snapshots" ),
783- coursierapi.IvyRepository .of(" https://dl.bintray.com/sbt/sbt-plugin-releases/[defaultPattern]" ),
781+ coursierapi.MavenRepository .of(" https://central.sonatype.com/repository/maven-snapshots/" ),
784782 coursierapi.IvyRepository .of(" https://foo.com/a/b/c/[defaultPattern]" )
785783)
786784```
Original file line number Diff line number Diff line change @@ -463,12 +463,12 @@ If using the sbt plugin:
463463``` diff
464464 // project/plugins.sbt
465465 addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "@VERSION@")
466- + resolvers += Resolver.sonatypeRepo("snapshots")
466+ + resolvers += Resolver.sonatypeCentralSnapshots
467467+ dependencyOverrides += "ch.epfl.scala" % "scalafix-interfaces" % "@NIGHTLY_VERSION@"
468468```
469469
470470If using the command-line interface:
471471
472472``` sh
473- cs launch ch.epfl.scala:scalafix-cli_@SCALA213@:@NIGHTLY_VERSION@ -r sonatype: snapshots --main scalafix.cli.Cli -- --help
473+ cs launch ch.epfl.scala:scalafix-cli_@SCALA213@:@NIGHTLY_VERSION@ -r https://central.sonatype.com/repository/maven- snapshots --main scalafix.cli.Cli -- --help
474474```
Original file line number Diff line number Diff line change @@ -195,10 +195,6 @@ object ScalafixBuild extends AutoPlugin with GhpagesKeys {
195195 override def globalSettings : Seq [Def .Setting [_]] = List (
196196 excludeLintKeys += scalafixConfig, // defined on projects where ScalafixPlugin is disabled
197197 stableVersion := (ThisBuild / version).value.replaceFirst(" \\ +.*" , " " ),
198- resolvers ++=
199- Resolver .sonatypeOssRepos(" snapshots" ) ++
200- Resolver .sonatypeOssRepos(" public" ) :+
201- Resolver .mavenLocal,
202198 Test / testOptions += Tests .Argument (" -oD" ),
203199 updateOptions := updateOptions.value.withCachedResolution(true ),
204200 ThisBuild / watchTriggeredMessage := Watch .clearScreenOnTrigger,
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ import scala.meta.pc.PresentationCompiler
99
1010import coursierapi .Dependency
1111import coursierapi .Fetch
12- import coursierapi .MavenRepository
1312
1413object Embedded {
1514
@@ -61,12 +60,6 @@ object Embedded {
6160 val jars = Fetch
6261 .create()
6362 .addDependencies(deps : _* )
64- .addRepositories(
65- // for some versions, the presentation compiler depends on mtags-interfaces SNAPSHOTs
66- MavenRepository .of(
67- " https://oss.sonatype.org/content/repositories/snapshots"
68- )
69- )
7063 .fetch()
7164 .asScala
7265 .map(_.toPath())
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ object SemanticdbPlugin {
2424 .addDependencies(dep)
2525 .addRepositories(
2626 MavenRepository (
27- " https://oss .sonatype.org/content/repositories/ snapshots"
27+ " https://central .sonatype.com/repository/maven- snapshots"
2828 )
2929 )
3030 .run()
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ class ScalafixSuite extends AnyFunSuite {
3434 Repository .central(), // for scala libs
3535 MavenRepository .of(
3636 // for scalameta SNAPSHOTS
37- " https://oss .sonatype.org/content/repositories/ snapshots"
37+ " https://central .sonatype.com/repository/maven- snapshots"
3838 )
3939 ).asJava
4040
You can’t perform that action at this time.
0 commit comments