@@ -14,7 +14,7 @@ Global / onChangedBuildSource := ReloadOnSourceChanges
1414
1515enablePlugins(OssumIncPlugin )
1616
17- // NOTE: All modules override scalaVersion to 3.7.4 (from sbt-ossuminc's 3.3.7 LTS default).
17+ // NOTE: All modules override scalaVersion to 3.8.3 (from sbt-ossuminc's 3.3.7 LTS default).
1818// Scala 3.3.x has an infinite loop bug in the compiler's type system (hasClassSymbol
1919// recursion when computing union/intersection types). Fixed in later versions.
2020// TASTy format is forward-compatible: 3.7.4 output can be consumed by 3.3.7 code (e.g., Akka servers).
@@ -55,13 +55,13 @@ lazy val Utils = config("utils")
5555lazy val utils_cp : CrossProject = CrossModule (" utils" , " riddl-utils" )(JVM , JS , Native )
5656 .configure(With .typical, With .GithubPublishing )
5757 .settings(
58- scalaVersion := " 3.7.4 " , // Override 3.3.7 LTS - see top of file for reason
58+ scalaVersion := V .scala , // Override 3.3.7 LTS - see top of file for reason
5959 scalacOptions += " -explain-cyclic" ,
6060 description := " Various utilities used throughout riddl libraries"
6161 )
6262 .jvmConfigure(With .coverage(70 ))
6363 .jvmConfigure(With .BuildInfo )
64- .jvmConfigure(With .MiMa (" 0.57.0 " , Seq (" com.ossuminc.riddl.utils.RiddlBuildInfo" )))
64+ .jvmConfigure(With .MiMa (V .previous , Seq (" com.ossuminc.riddl.utils.RiddlBuildInfo" )))
6565 .jvmSettings(
6666 buildInfoPackage := " com.ossuminc.riddl.utils" ,
6767 buildInfoObject := " RiddlBuildInfo" ,
@@ -144,13 +144,13 @@ lazy val language_cp: CrossProject = CrossModule("language", "riddl-language")(J
144144 .dependsOn(cpDep(utils_cp))
145145 .configure(With .typical, With .GithubPublishing )
146146 .settings(
147- scalaVersion := " 3.7.4 " , // Override 3.3.7 LTS - see top of file for reason
147+ scalaVersion := V .scala , // Override 3.3.7 LTS - see top of file for reason
148148 description := " Abstract Syntax Tree and basic RIDDL language parser" ,
149149 scalacOptions ++= Seq (" -explain" , " --explain-types" , " --explain-cyclic" , " --no-warnings" ),
150150 Test / parallelExecution := false
151151 )
152152 .jvmConfigure(With .coverage(65 ))
153- .jvmConfigure(With .MiMa (" 0.57.0 " ))
153+ .jvmConfigure(With .MiMa (V .previous ))
154154 .jvmSettings(
155155 tastyMiMaConfig ~= { prevConfig =>
156156 import java .util .Arrays .asList
@@ -211,13 +211,13 @@ lazy val passes_cp = CrossModule("passes", "riddl-passes")(JVM, JS, Native)
211211 .dependsOn(cpDep(utils_cp), cpDep(language_cp))
212212 .configure(With .typical, With .GithubPublishing )
213213 .settings(
214- scalaVersion := " 3.7.4 " , // Override 3.3.7 LTS - see top of file for reason
214+ scalaVersion := V .scala , // Override 3.3.7 LTS - see top of file for reason
215215 Test / parallelExecution := false ,
216216 scalacOptions ++= Seq (" -explain" , " --explain-types" , " --explain-cyclic" ),
217217 description := " AST Pass infrastructure and essential passes"
218218 )
219219 .jvmConfigure(With .coverage(30 ))
220- .jvmConfigure(With .MiMa (" 0.57.0 " ))
220+ .jvmConfigure(With .MiMa (V .previous ))
221221 .jvmSettings(
222222 coverageExcludedPackages := " <empty>;$anon" ,
223223 mimaBinaryIssueFilters ++= Seq (
@@ -250,7 +250,7 @@ lazy val testkit_cp = CrossModule("testkit", "riddl-testkit")(JVM, JS, Native)
250250 .dependsOn(tkDep(utils_cp), tkDep(language_cp), tkDep(passes_cp))
251251 .configure(With .typical, With .GithubPublishing )
252252 .settings(
253- scalaVersion := " 3.7.4 " , // Override 3.3.7 LTS - see top of file for reason
253+ scalaVersion := V .scala , // Override 3.3.7 LTS - see top of file for reason
254254 description := " Testing kit for RIDDL language and passes"
255255 )
256256 .jvmSettings(
@@ -259,7 +259,7 @@ lazy val testkit_cp = CrossModule("testkit", "riddl-testkit")(JVM, JS, Native)
259259 Dep .scalactic_nojvm.value
260260 )
261261 )
262- .jvmConfigure(With .MiMa (" 0.57.0 " ))
262+ .jvmConfigure(With .MiMa (V .previous ))
263263 .jsConfigure(With .ScalaJS (" RIDDL: language" , withCommonJSModule = true ))
264264 .jsConfigure(With .noMiMa)
265265 .jsSettings(
@@ -290,11 +290,11 @@ lazy val riddlLib_cp: CrossProject = CrossModule("riddlLib", "riddl-lib")(JS, JV
290290 )
291291 .configure(With .typical, With .GithubPublishing )
292292 .settings(
293- scalaVersion := " 3.7.4 " , // Override 3.3.7 LTS - see top of file for reason
293+ scalaVersion := V .scala , // Override 3.3.7 LTS - see top of file for reason
294294 description := " Bundling of essential RIDDL libraries"
295295 )
296296 .jvmConfigure(With .coverage(50 ))
297- .jvmConfigure(With .MiMa (" 0.57.0 " ))
297+ .jvmConfigure(With .MiMa (V .previous ))
298298 .jvmConfigure(
299299 With .Packaging .universal(
300300 maintainerEmail = " reid@ossuminc.com" ,
@@ -334,12 +334,12 @@ lazy val commands_cp: CrossProject = CrossModule("commands", "riddl-commands")(J
334334 .dependsOn(cpDep(utils_cp), cpDep(language_cp), cpDep(passes_cp))
335335 .configure(With .typical, With .GithubPublishing )
336336 .settings(
337- scalaVersion := " 3.7.4 " , // Override 3.3.7 LTS - see top of file for reason
337+ scalaVersion := V .scala , // Override 3.3.7 LTS - see top of file for reason
338338 scalacOptions ++= Seq (" -explain" , " --explain-types" , " --explain-cyclic" , " --no-warnings" ),
339339 description := " RIDDL Command Infrastructure and command definitions"
340340 )
341341 .jvmConfigure(With .coverage(50 ))
342- .jvmConfigure(With .MiMa (" 0.57.0 " ))
342+ .jvmConfigure(With .MiMa (V .previous ))
343343 .jvmSettings(
344344 libraryDependencies ++= Seq (Dep .scopt, Dep .sconfig, Dep .scalajs_stubs),
345345 coverageExcludedFiles := """ <empty>;$anon"""
@@ -365,7 +365,7 @@ lazy val riddlc_cp: CrossProject = CrossModule("riddlc", "riddlc")(JVM, Native)
365365 .configure(With .noMiMa)
366366 .dependsOn(cpDep(utils_cp), cpDep(language_cp), cpDep(passes_cp), cpDep(commands_cp))
367367 .settings(
368- scalaVersion := " 3.7.4 " , // Override 3.3.7 LTS - see top of file for reason
368+ scalaVersion := V .scala , // Override 3.3.7 LTS - see top of file for reason
369369 description := " The `riddlc` compiler and tests, the only executable in RIDDL" ,
370370 maintainer := " reid@ossuminc.com" ,
371371 mainClass := Option (" com.ossuminc.riddl.RIDDLC" )
0 commit comments