heroku/heroku-buildpack-scala — pull request #82 by jkutner (2014-08-12 21:27:26+00:00)
Title: Prime the Ivy cache

The PR seeks to reduce the build time and hopefully eliminate some build timeouts by priming the Ivy cache prior to compiling an app for the first time. Result show a savings of about 5 minutes for a vanilla Play app. It uses the [sbt-pkg-builder](https://github.com/heroku/sbt-pkg-builder/) to create the pre-built ivy tarballs.

In addition to priming the cache, this PR also splits the `sbt` commands into an `sbt update` followed by an `sbt compile stage`. This allows it to cache the Ivy repo before the app compiling starts. This is important for some users who may get a timeout. Now a second `git push` will succeed because all dependencies have been resolved.

Once this is merged it, I'll follow up with more tarball ivy packages for various Play and Scala versions.