From b56b3052aee81a896a5960ff43584817d96a415b Mon Sep 17 00:00:00 2001 From: Alexandre Archambault Date: Wed, 19 Jun 2024 20:06:46 +0200 Subject: [PATCH 1/3] Minor refacto in build.sbt --- build.sbt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index b181d545..b10f4161 100644 --- a/build.sbt +++ b/build.sbt @@ -19,9 +19,10 @@ lazy val Version = new { def scala213 = scala213Versions.last def scala212 = scala212Versions.last + def mtags = "1.3.1" // Important: this should be the exact same version as the one mtags pulls, as mtags uses some scalameta internal APIs, // and binary compatibility of these APIs isn't guaranteed. - // Get this version with a command like 'cs resolve org.scalameta:mtags_2.13.12:1.0.1 | grep org.scalameta:scalameta' + // Get this version with a command like 'cs resolve org.scalameta:mtags_2.13.14:1.3.1 | grep org.scalameta:scalameta' def scalameta = "4.9.3" } @@ -124,7 +125,7 @@ lazy val server = project "org.slf4j" % "slf4j-api" % "2.0.13", "org.jboss.xnio" % "xnio-nio" % "3.8.0.Final", "org.scalameta" % "semanticdb-scalac-core" % Version.scalameta cross CrossVersion.full, - ("org.scalameta" %% "mtags" % "1.3.1").cross(CrossVersion.full) + ("org.scalameta" %% "mtags" % Version.mtags).cross(CrossVersion.full) ), (Compile / packageBin) := { import java.io.FileOutputStream From 72d279d652497cdd2e3e534bd3def73162d93f24 Mon Sep 17 00:00:00 2001 From: Alexandre Archambault Date: Wed, 19 Jun 2024 20:19:38 +0200 Subject: [PATCH 2/3] Drop 2.13.10 support Not supported by mtags 1.3.2 --- build.sbt | 1 - 1 file changed, 1 deletion(-) diff --git a/build.sbt b/build.sbt index b10f4161..9def119b 100644 --- a/build.sbt +++ b/build.sbt @@ -4,7 +4,6 @@ import sbtcrossproject.{crossProject, CrossType} lazy val Version = new { val scala213Versions = Seq( - "2.13.10", "2.13.11", "2.13.12", "2.13.13", From fd3d5b01cea6ad458e1b43a20b8f15bf97831c2d Mon Sep 17 00:00:00 2001 From: Alexandre Archambault Date: Wed, 19 Jun 2024 20:07:04 +0200 Subject: [PATCH 3/3] Update mtags to 1.3.2 and scalameta to 4.9.6 --- build.sbt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index 9def119b..e949e801 100644 --- a/build.sbt +++ b/build.sbt @@ -18,11 +18,11 @@ lazy val Version = new { def scala213 = scala213Versions.last def scala212 = scala212Versions.last - def mtags = "1.3.1" + def mtags = "1.3.2" // Important: this should be the exact same version as the one mtags pulls, as mtags uses some scalameta internal APIs, // and binary compatibility of these APIs isn't guaranteed. // Get this version with a command like 'cs resolve org.scalameta:mtags_2.13.14:1.3.1 | grep org.scalameta:scalameta' - def scalameta = "4.9.3" + def scalameta = "4.9.6" } inThisBuild(