Skip to content

Commit

Permalink
Merge pull request #563 from xuwei-k/patch-1
Browse files Browse the repository at this point in the history
remove unnecessary dependency
  • Loading branch information
mkurz authored Nov 10, 2022
2 parents bddab0f + 0dbd9d5 commit c3ba2b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,16 @@ lazy val compiler = project
CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, _)) =>
// only for scala < 3
Seq("org.scala-lang" % "scala-compiler" % scalaVersion.value)
case _ => Seq("org.scala-lang" %% "scala3-compiler" % scalaVersion.value)
Seq("org.scala-lang" % "scala-compiler" % scalaVersion.value % Test)
case _ => Seq("org.scala-lang" %% "scala3-compiler" % scalaVersion.value % Test)
}
},
libraryDependencies += parserCombinators(scalaVersion.value) % Optional,
libraryDependencies += ("org.scalameta" %% "scalameta" % "4.6.0").cross(CrossVersion.for3Use2_13),
run / fork := true
)
.aggregate(apiJvm, parser)
.dependsOn(apiJvm, parser % "compile->compile;test->test")
.aggregate(parser)
.dependsOn(apiJvm % Test, parser % "compile->compile;test->test")

lazy val plugin = project
.in(file("sbt-twirl"))
Expand Down

0 comments on commit c3ba2b3

Please sign in to comment.