define scalaVersion as attribute, remove transitive dependencies