Skip to content

Commit

Permalink
Merge pull request #487 from alexarchambault/updates
Browse files Browse the repository at this point in the history
Updates
  • Loading branch information
alexarchambault authored Jun 20, 2024
2 parents 9a9d430 + fd3d5b0 commit b16b2c0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -19,10 +18,11 @@ lazy val Version = new {
def scala213 = scala213Versions.last
def scala212 = scala212Versions.last

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.12:1.0.1 | grep org.scalameta:scalameta'
def scalameta = "4.9.3"
// 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.6"
}

inThisBuild(
Expand Down Expand Up @@ -124,7 +124,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
Expand Down

0 comments on commit b16b2c0

Please sign in to comment.