The deployment of my play 2.1 application is very slow since several weeks. In fact it is randomly so slow that the build times out (15 minutes time limit).

I already tried to use a custom buildpack, with few to no effect.

When I do the build locally as described here it takes appr. 10 minutes, but most of the time is spend in retrieval of the dependent artifacts. When i have a look at the build on Heroku, the retrieval doesn't need much time and thus the retrieval seems not to be the problem.

About the build: [info] Compiling 83 Scala sources and 3 Java sources.

It looks like the generation and packaging of sources and docs (never used in prod) seem to take a significant amount of time.

Is there any way to reduce the build time significantly, e.g. by shutting of the generation of docs?

Edit
Report