Inability to include com.typesafe in build.sbt (for Scala and spray on Heroku)

Trying to upload my Scala Spray template to Heroku, I try to add the necessary settings to my local project, for Heroku documentation . The spray template project was derived from a great github template that just works and contains elegant code and tests.

After the last template project worked fine, when adding the import com.typesafe.startscript.StartScriptPlugin to my build.sbt , any sbt command now fails with:

/build.sbt:1: error: object typesafe is not a member of package com import com.typesafe.startscript.StartScriptPlugin ^ [error] Type error in expression

While on the Ubuntu 13.04 desktop, I tried installing the full set of types> , although everything else worked only with the local installation of a newer version of sbt up to this point. But this attempt to solve this error does not change anything. Which seems to be in my case to put the ready-for-Heroku to a standstill.

I suppose this integration problem may be simple to nail, but there are too many moving parts, and maybe there is a simple idea that can make me peel off here ... it feels like Google, as if I probably , the only one that ran into this particular problem ... but maybe the solution is simple for you.

+3
source share
1 answer

This combination seems to work with sbt 0.12.0, but not with 0.12.4 or 0.13.0 .... changing the sbt project to 0.12.0 makes it work.

+1
source

All Articles