From 4314b9fc17aac182c9a25b2132f39306aec00175 Mon Sep 17 00:00:00 2001 From: Sergey Morgunov Date: Mon, 28 Aug 2023 12:59:50 +0300 Subject: [PATCH] `scala-parser-combinators` shouldn't be optional dependency --- build.sbt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/build.sbt b/build.sbt index 6e489e71..2aa13661 100644 --- a/build.sbt +++ b/build.sbt @@ -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 @@ -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")