sbt-dependency-submission icon indicating copy to clipboard operation
sbt-dependency-submission copied to clipboard

Include SBT plugins as dependencies

Open MPV opened this issue 2 years ago • 3 comments

Does this support including SBT plugins as dependencies?

Over in #138 @adpi2 said:

This Github action submits the snapshot of all the dependencies downloaded by the build: the compile dependencies, the test dependencies, the scala tools (compiler and scaladoc), and their transitive dependencies, for all Scala versions and platforms.

We've seen this working, but are missing SBT plugins when using this action.

What are your thoughts on adding support for this?

MPV avatar Nov 08 '23 15:11 MPV

Here's a concrete example:

$ cat project/plugins.sbt
addSbtPlugin("org.xerial.sbt"            % "sbt-pack"      % "0.17")
addSbtPlugin("ch.epfl.scala"             % "sbt-scalafix"  % "0.11.1")
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat"  % "0.4.4")
addSbtPlugin("org.scoverage"             % "sbt-scoverage" % "2.0.9")

MPV avatar Nov 08 '23 15:11 MPV

Here's an example using this action, on the above change:

  • https://github.com/MPV/github-dependency-review-for-scala/pull/15

MPV avatar Nov 08 '23 15:11 MPV

What are your thoughts on adding support for this?

It would be great, but I have not yet found a good way to implement it.

adpi2 avatar Nov 08 '23 16:11 adpi2