Skip to content

Commit

Permalink
add xml to build
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornregnell committed Jan 30, 2025
1 parent 93fc12a commit 24dc6fe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
lazy val reqTLangVer = "4.5.1"
lazy val scalaVer = "3.3.4" // use LTS only
lazy val munitVer = "1.0.3"
lazy val oslibVer = "0.11.3"
lazy val oslibVer = "0.11.3" // used as test dep only
lazy val scalaXmlVer = "2.2.0" // deprecated; migration needed eventually...

ThisBuild / version := reqTLangVer
ThisBuild / scalaVersion := scalaVer // use LTS only
Expand All @@ -13,13 +14,14 @@ Global / onChangedBuildSource := ReloadOnSourceChanges

libraryDependencies += "org.scalameta" %% "munit" % munitVer % Test
libraryDependencies += "com.lihaoyi" %% "os-lib" % oslibVer % Test
libraryDependencies += "org.scala-lang.modules" %% "scala-xml" % scalaXmlVer

lazy val nameOfThisBuild = "reqt-lang"

lazy val `reqt-lang` = (project in file("."))
.settings(
name := nameOfThisBuild,
scalacOptions := List("-encoding", "utf8", "-Werror", "-deprecation", "-unchecked")
scalacOptions := List("-encoding", "utf8", "-Werror", "-deprecation", "-unchecked", "-feature")
)

lazy val meta = taskKey[Unit]("generate meta model")
Expand Down

0 comments on commit 24dc6fe

Please sign in to comment.