Ported from maven to sbt