Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated scala, sbt and packages to the latest versions #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ Follow these steps to get started:

9. Start hacking on `src/main/scala/com/example/MyService.scala`

## Important note
This template currently uses sbt 0.12.0, and changing it to use 0.12.4 or 0.13.0 [seems to not work](http://stackoverflow.com/questions/19998340/failing-to-include-com-typesafe-in-build-sbt-for-scala-and-spray-on-heroku).

## Additional resources
+ [spray.io](http://spray.io/)
+ [Heroku Scala getting started](https://devcenter.heroku.com/articles/getting-started-with-scala) - this is not spray.io specific but may add some insight
Expand Down
22 changes: 11 additions & 11 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import com.typesafe.startscript.StartScriptPlugin
import com.typesafe.sbt.SbtStartScript

seq(StartScriptPlugin.startScriptForClassesSettings: _*)
seq(SbtStartScript.startScriptForClassesSettings: _*)

organization := "com.example"

version := "0.1"

scalaVersion := "2.10.3"
scalaVersion := "2.11.2"

scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8")

Expand All @@ -16,20 +16,20 @@ resolvers ++= Seq(


libraryDependencies ++= {
val akkaV = "2.1.4"
val sprayV = "1.1-RC3"
val akkaV = "2.3.6"
val sprayV = "1.3.1"
Seq(
"io.spray" % "spray-can" % sprayV,
"io.spray" % "spray-routing" % sprayV,
"io.spray" % "spray-testkit" % sprayV,
"io.spray" %% "spray-can" % sprayV,
"io.spray" %% "spray-routing" % sprayV,
"io.spray" %% "spray-testkit" % sprayV,
"com.typesafe.akka" %% "akka-actor" % akkaV,
"com.typesafe.akka" %% "akka-testkit" % akkaV,
"org.specs2" %% "specs2" % "2.2.3" % "test"
"org.specs2" %% "specs2-core" % "2.4.3" % "test"
)
}

libraryDependencies += "com.typesafe" %% "scalalogging-slf4j" % "1.0.1"
libraryDependencies += "com.typesafe.scala-logging" %% "scala-logging" % "3.1.0"

libraryDependencies += "org.slf4j" % "slf4j-api" % "1.7.2"
libraryDependencies += "org.slf4j" % "slf4j-api" % "1.7.7"

seq(Revolver.settings: _*)
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=0.12.0
sbt.version=0.13.6
2 changes: 1 addition & 1 deletion project/build.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
resolvers += Classpaths.typesafeResolver

addSbtPlugin("com.typesafe.startscript" % "xsbt-start-script-plugin" % "0.5.3")
addSbtPlugin("com.typesafe.sbt" % "sbt-start-script" % "0.10.0")