modified for sbt-assembly