Skip to content

Commit

Permalink
scala-parser-combinators shouldn't be optional dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ihostage committed Aug 28, 2023
1 parent a395916 commit 4314b9f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ lazy val parser = project
scalaVersion := Scala212,
crossScalaVersions := ScalaVersions,
mimaSettings,
name := "twirl-parser",
libraryDependencies += parserCombinators(scalaVersion.value) % Optional,
libraryDependencies += "com.github.sbt" % "junit-interface" % "0.13.3" % Test,
libraryDependencies += "org.scalatest" %%% "scalatest" % ScalaTestVersion % Test,
name := "twirl-parser",
libraryDependencies += parserCombinators(scalaVersion.value),
libraryDependencies += "com.github.sbt" % "junit-interface" % "0.13.3" % Test,
libraryDependencies += "org.scalatest" %%% "scalatest" % ScalaTestVersion % Test,
)

lazy val compiler = project
Expand All @@ -124,11 +124,11 @@ lazy val compiler = project
case _ => Seq("org.scala-lang" %% "scala3-compiler" % scalaVersion.value % Test)
}
},
libraryDependencies += parserCombinators(scalaVersion.value) % Optional,
libraryDependencies += ("org.scalameta" %% "parsers" % "4.8.8").cross(CrossVersion.for3Use2_13),
run / fork := true,
buildInfoKeys := Seq[BuildInfoKey](scalaVersion),
buildInfoPackage := "play.twirl.compiler"
libraryDependencies += parserCombinators(scalaVersion.value),
libraryDependencies += ("org.scalameta" %% "parsers" % "4.8.8").cross(CrossVersion.for3Use2_13),
run / fork := true,
buildInfoKeys := Seq[BuildInfoKey](scalaVersion),
buildInfoPackage := "play.twirl.compiler"
)
.aggregate(parser)
.dependsOn(apiJvm % Test, parser % "compile->compile;test->test")
Expand Down

0 comments on commit 4314b9f

Please sign in to comment.