Refactor of sbt to publish in bintray