We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26bd940 commit 2411d62Copy full SHA for 2411d62
modules/options/src/main/scala/scala/build/Artifacts.scala
@@ -323,12 +323,12 @@ object Artifacts {
323
if (addStubs) {
324
val maybeSnapshotRepo =
325
if (stubsVersion.endsWith("SNAPSHOT"))
326
- Seq(coursier.Repositories.sonatype("snapshots").root)
+ Seq(coursier.Repositories.sonatype("snapshots"))
327
else Nil
328
value {
329
artifacts(
330
Positioned.none(Seq(dep"$stubsOrganization:$stubsModuleName:$stubsVersion")),
331
- allExtraRepositories,
+ allExtraRepositories ++ maybeSnapshotRepo,
332
scalaArtifactsParamsOpt.map(_.params),
333
logger,
334
cache.withMessage("Downloading internal stub dependency")
0 commit comments