If you just want to remove all artifacts from the publish task, do it manually:
packagedArtifacts := Map.empty
Then call addArtifact
with the Artifact assembly:
artifact in (Compile, assembly) ~= { art => art.copy(`classifier` = Some("assembly")) }
Now, if you call show packagedArtifacts
, you will only see the assembly artifact
source share