stevedlawrence commented on code in PR #37:
URL: https://github.com/apache/daffodil-sbt/pull/37#discussion_r1668531414
##########
src/main/scala/org/apache/daffodil/DaffodilPlugin.scala:
##########
@@ -90,23 +154,19 @@ object DaffodilPlugin extends AutoPlugin {
// dependencies to add if the daffodilVersion matches all of those
specifiers. If the
// version specifier Seq is empty, the associated dependencies are added
regardless of
// Daffodil version
- val versionedDeps = Seq(
+ val versionedDeps = Map(
// always add Daffodil and junit test dependencies
- Nil -> Seq(
+ ">=3.0.0" -> Seq(
"org.apache.daffodil" %% "daffodil-tdml-processor" %
daffodilVersion.value % "test",
"junit" % "junit" % "4.13.2" % "test",
Review Comment:
Good question. According to the scala steward docs it does look at *.scala
files, so I think it will unless it is smart enough to only look at sbt config
files. I'll create a PR in the scala-steward repo to add daffodil-sbt and we'll
eventually find out.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]