From 96f927a3f4eef170db759ea226387dc10307e1e5 Mon Sep 17 00:00:00 2001 From: Brice Jaglin Date: Sun, 11 Feb 2024 12:37:41 +0100 Subject: [PATCH] support scalameta SNAPSHOTS in scripted tests --- mdoc-sbt/src/sbt-test/sbt-mdoc/basic/build.sbt | 1 + mdoc-sbt/src/sbt-test/sbt-mdoc/extra-arguments/build.sbt | 1 + mdoc-sbt/src/sbt-test/sbt-mdoc/scalajs-1.7/build.sbt | 1 + 3 files changed, 3 insertions(+) diff --git a/mdoc-sbt/src/sbt-test/sbt-mdoc/basic/build.sbt b/mdoc-sbt/src/sbt-test/sbt-mdoc/basic/build.sbt index 0e52d375f..55a19ad21 100644 --- a/mdoc-sbt/src/sbt-test/sbt-mdoc/basic/build.sbt +++ b/mdoc-sbt/src/sbt-test/sbt-mdoc/basic/build.sbt @@ -1,5 +1,6 @@ ThisBuild / scalaVersion := "2.12.18" ThisBuild / crossScalaVersions := List("2.12.18", "2.13.12", "3.3.0", "3.3.1") +ThisBuild / resolvers += Resolver.sonatypeRepo("snapshots") enablePlugins(MdocPlugin) mdocJS := Some(jsapp) diff --git a/mdoc-sbt/src/sbt-test/sbt-mdoc/extra-arguments/build.sbt b/mdoc-sbt/src/sbt-test/sbt-mdoc/extra-arguments/build.sbt index a70df1d89..89a222aa2 100644 --- a/mdoc-sbt/src/sbt-test/sbt-mdoc/extra-arguments/build.sbt +++ b/mdoc-sbt/src/sbt-test/sbt-mdoc/extra-arguments/build.sbt @@ -1,3 +1,4 @@ ThisBuild / scalaVersion := "2.13.12" +ThisBuild / resolvers += Resolver.sonatypeRepo("snapshots") enablePlugins(MdocPlugin) diff --git a/mdoc-sbt/src/sbt-test/sbt-mdoc/scalajs-1.7/build.sbt b/mdoc-sbt/src/sbt-test/sbt-mdoc/scalajs-1.7/build.sbt index 9c7aaa0ec..9f64f0c74 100644 --- a/mdoc-sbt/src/sbt-test/sbt-mdoc/scalajs-1.7/build.sbt +++ b/mdoc-sbt/src/sbt-test/sbt-mdoc/scalajs-1.7/build.sbt @@ -1,5 +1,6 @@ ThisBuild / scalaVersion := "2.12.18" ThisBuild / crossScalaVersions := List("2.12.18", "2.13.12", "3.0.1") +ThisBuild / resolvers += Resolver.sonatypeRepo("snapshots") enablePlugins(MdocPlugin) mdocJS := Some(jsapp)