Commands can only be interacted with in limited ways compared to Tasks. We should replace our command-construction logic with Task-construction, so we can refer to particular assembly targets in sbt code. Hopefully we can also improve it so that it makes more sense to the casual reader.
This would allow us to set a proper dependency from #45's debian:packageBin on the .jar file that it packages. As it is now, packageBin will simply fail if assembly-nonProvidedDeps is not run first.
In GitLab, by Daniel Oosterwijk on 2021-01-29
Commands can only be interacted with in limited ways compared to Tasks. We should replace our command-construction logic with Task-construction, so we can refer to particular assembly targets in sbt code. Hopefully we can also improve it so that it makes more sense to the casual reader.
This would allow us to set a proper dependency from #45's debian:packageBin on the .jar file that it packages. As it is now, packageBin will simply fail if assembly-nonProvidedDeps is not run first.