
libraryDependencies ++= Seq(
    "play" %% "play" % "2.1-RC2",
    "org.reflections" % "reflections" % "0.9.8",
    "org.specs2" %% "specs2" % "1.5" % "test",
    "play" %% "play-test" % "2.1-RC2" % "test"
)

// needed for Play
resolvers += "Typesafe Releases" at "http://repo.typesafe.com/typesafe/releases/"

// sad situation https://github.com/jesseeichar/scala-io/issues/77#issuecomment-11991815
moduleConfigurations += ModuleConfiguration("com.github.scala-incubator.io", DefaultMavenRepository)

moduleConfigurations += ModuleConfiguration("com.jsuereth", DefaultMavenRepository)

// disable publishing the main javadoc jar
publishArtifact in (Compile, packageDoc) := false

seq(scalariformSettings: _*)


libraryDependencies ++= Seq(
    "play" %% "play" % "2.1-RC2",
    "org.reflections" % "reflections" % "0.9.8" exclude("javassist", "javassist"), // http://code.google.com/p/reflections/issues/detail?id=140
    "org.specs2" %% "specs2" % "1.5" % "test",
    "play" %% "play-test" % "2.1-RC2" % "test"
)

// needed for Play
resolvers += "Typesafe Releases" at "http://repo.typesafe.com/typesafe/releases/"

// sad situation https://github.com/jesseeichar/scala-io/issues/77#issuecomment-11991815
moduleConfigurations += ModuleConfiguration("com.github.scala-incubator.io", DefaultMavenRepository)

moduleConfigurations += ModuleConfiguration("com.jsuereth", DefaultMavenRepository)

// disable publishing the main javadoc jar
publishArtifact in (Compile, packageDoc) := false

seq(scalariformSettings: _*)

Fix dependency resolution of Javassist
Fix dependency resolution of Javassist

Reflections uses the old group-id 'javassist', but Play references a
newer version with the current group-id 'org.javassist'. This leads
to a dependency resolution problem when doing an assembly:

[error] (*:assembly) deduplicate: different file contents found in the following:
[error] /home/rtyley/.ivy2/cache/javassist/javassist/jars/javassist-3.12.1.GA.jar:javassist/bytecode/stackmap/Tracer.class
[error] /home/rtyley/.ivy2/cache/org.javassist/javassist/jars/javassist-3.16.1-GA.jar:javassist/bytecode/stackmap/Tracer.class

http://code.google.com/p/reflections/issues/detail?id=140
