name := "sphere-sunrise"

organization := "io.sphere"

version := "1.0-SNAPSHOT"

lazy val root = (project in file(".")).enablePlugins(PlayJava).configs(IntegrationTest)

scalaVersion := "2.10.4"

javacOptions ++= Seq("-source", "1.8", "-target", "1.8")

resolvers += Resolver.sonatypeRepo("snapshots")

resolvers += Resolver.sonatypeRepo("releases")

libraryDependencies ++= Seq(
  "io.sphere.sdk.jvm" %% "sphere-play-sdk" % "1.0.0-M5",
  "com.google.inject" % "guice" % "3.0"
)

initialCommands in console := "import tutorial.ClientFactory.createClient;" +
  "import io.sphere.sdk.categories._;" +
  """println("Use 'val client = createClient()' to create a client instance.")"""

javaUnidocSettings
name := "sphere-sunrise"

organization := "io.sphere"

version := "1.0-SNAPSHOT"

lazy val root = (project in file(".")).enablePlugins(PlayJava).configs(IntegrationTest)

scalaVersion := "2.10.4"

javacOptions ++= Seq("-source", "1.8", "-target", "1.8")

resolvers += Resolver.sonatypeRepo("snapshots")

resolvers += Resolver.sonatypeRepo("releases")

libraryDependencies ++= Seq(
  "io.sphere.jvmsdk" %% "sphere-play-sdk" % "1.0.0-M2",
  "com.google.inject" % "guice" % "3.0"
)

initialCommands in console := "import tutorial.ClientFactory.createClient;" +
  "import io.sphere.sdk.categories._;" +
  """println("Use 'val client = createClient()' to create a client instance.")"""

javaUnidocSettings
--- 
+++ 
@@ -15,7 +15,7 @@
 resolvers += Resolver.sonatypeRepo("releases")
 
 libraryDependencies ++= Seq(
-  "io.sphere.jvmsdk" %% "sphere-play-sdk" % "1.0.0-M2",
+  "io.sphere.sdk.jvm" %% "sphere-play-sdk" % "1.0.0-M5",
   "com.google.inject" % "guice" % "3.0"
 )
 
Update to JVM SDK 1.0.0-M5.
