From 37b8fe506ea2d8f11668b979cf42e2563ae25e51 Mon Sep 17 00:00:00 2001 From: Tomasz Godzik Date: Tue, 2 May 2023 17:35:13 +0200 Subject: [PATCH 1/2] chore: Update dependencies to newest ones --- .scalafmt.conf | 2 +- build.sbt | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index af6e64c34..82b446a58 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = "3.7.2" +version = "3.7.3" runner.dialect = scala213 maxColumn = 100 project.git = true diff --git a/build.sbt b/build.sbt index 198ed6f76..7cafb585d 100644 --- a/build.sbt +++ b/build.sbt @@ -122,9 +122,9 @@ lazy val sharedJavaSettings = List( ) val V = new { - val scalameta = "4.7.6" + val scalameta = "4.7.7" val munit = "1.0.0-M7" - val coursier = "1.0.13" + val coursier = "1.0.15" val scalacheck = "1.17.0" val pprint = "0.8.1" val fansi = "0.4.0" @@ -238,8 +238,8 @@ lazy val mdoc = project "com.googlecode.java-diff-utils" % "diffutils" % "1.3.0", "io.methvin" % "directory-watcher" % "0.18.0", // live reload - "io.undertow" % "undertow-core" % "2.2.20.Final", - "org.jboss.xnio" % "xnio-nio" % "3.8.8.Final", + "io.undertow" % "undertow-core" % "2.2.24.Final", + "org.jboss.xnio" % "xnio-nio" % "3.8.9.Final", "org.slf4j" % "slf4j-api" % "2.0.7", "com.geirsson" %% "metaconfig-typesafe-config" % V.metaconfig, "com.lihaoyi" %% "fansi" % V.fansi, From 8a29ccacf2a0409178cf4edc41e06b5196f37e64 Mon Sep 17 00:00:00 2001 From: Tomasz Godzik Date: Tue, 2 May 2023 17:45:26 +0200 Subject: [PATCH 2/2] chore: Update test to a more stable repository --- .../test/scala/tests/imports/DependencySuite.scala | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/unit/src/test/scala/tests/imports/DependencySuite.scala b/tests/unit/src/test/scala/tests/imports/DependencySuite.scala index e892b5cf2..7c9775438 100644 --- a/tests/unit/src/test/scala/tests/imports/DependencySuite.scala +++ b/tests/unit/src/test/scala/tests/imports/DependencySuite.scala @@ -44,16 +44,16 @@ class DependencySuite extends BaseMarkdownSuite { "repo".tag(OnlyScala213), """ |```scala mdoc - |import $repo.`https://conjars.org/repo/` - |import $dep.`org.conjars.cilquirm:cascading-hbase:1.2.10` - |cascading.hbase.HBaseTap.SCHEME + |import $repo.`https://oss.sonatype.org/content/repositories/snapshots` + |import $dep.`org.scalameta:metals_2.13:0.11.10+1-4aa438b0-SNAPSHOT` + |scala.meta.internal.metals.ScalaVersions.isScala3Milestone("3.0.0") |``` | """.stripMargin, """|```scala - |import $repo.`https://conjars.org/repo/` - |import $dep.`org.conjars.cilquirm:cascading-hbase:1.2.10` - |cascading.hbase.HBaseTap.SCHEME - |// res0: String = "hbase" + |import $repo.`https://oss.sonatype.org/content/repositories/snapshots` + |import $dep.`org.scalameta:metals_2.13:0.11.10+1-4aa438b0-SNAPSHOT` + |scala.meta.internal.metals.ScalaVersions.isScala3Milestone("3.0.0") + |// res0: Boolean = false |``` |""".stripMargin )