Skip to content

Commit

Permalink
Use Scala 2.12.19 for building plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
danicheg committed Mar 2, 2024
1 parent 6e97960 commit ddfdc99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ lazy val fullCrossVersionSettings = Seq(
// NOTE: SBT 1.x provides cross-version support for Scala sources
// (https://www.scala-sbt.org/1.x/docs/Cross-Build.html#Scala-version+specific+source+directory).
// Unfortunately, it only includes directories like "scala_2.12" or "scala_2.13",
// not "scala_2.12.18" or "scala_2.13.12" that we need.
// not "scala_2.12.19" or "scala_2.13.12" that we need.
// That's why we have to work around here.
val base = (Compile / sourceDirectory).value
val versionDir = scalaVersion.value.replaceAll("-.*", "")
Expand Down
2 changes: 1 addition & 1 deletion project/BuildPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ object BuildImplementation {
Keys.organization := "ch.epfl.scala",
Keys.resolvers += Resolver.jcenterRepo,
Keys.updateOptions := Keys.updateOptions.value.withCachedResolution(true),
Keys.scalaVersion := "2.12.18",
Keys.scalaVersion := "2.12.19",
sbt.nio.Keys.watchTriggeredMessage := Watch.clearScreenOnTrigger,
BuildKeys.enableStatistics := true,
BuildKeys.showScalaInstances := BuildDefaults.showScalaInstances.value
Expand Down

0 comments on commit ddfdc99

Please sign in to comment.