build file gardening

rewrite build file to more idiomatic sbt