This repository has been archived by the owner on Sep 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.sbt
63 lines (44 loc) · 1.62 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name := "play-predictionio"
organization := "com.github.filosganga"
version := "1.0-SNAPSHOT"
homepage := Some(url("http://github.com/filosganga/play-predictionio"))
organizationHomepage := Some(url("http://filippodeluca.com"))
licenses := Seq("Apache 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.html"))
startYear := Some(2013)
scmInfo := Some(ScmInfo(
url("http://github.com/filosganga/play-predictionio"),
"scm:git:[email protected]:filosganga/play-predictionio.git",
Some("scm:git:[email protected]:filosganga/play-predictionio.git")
))
scalaVersion := "2.10.2"
crossScalaVersions := Seq("2.10.2")
scalacOptions ++= Seq("-deprecation", "-unchecked", "-feature")
libraryDependencies ++= {
val playVersion = "2.2.0"
Seq(
"io.prediction" % "client" % "0.6.1",
"com.typesafe.play" %% "play" % playVersion % "provided",
"org.specs2" %% "specs2" % "1.14" % "test",
"org.mockito" % "mockito-all" % "1.9.5" % "test",
"com.typesafe.play" %% "play-test" % playVersion % "test"
)
}
pomIncludeRepository := { _ => false }
pomExtra := (
<developers>
<developer>
<id>filosganga</id>
<name>Filippo De Luca</name>
<url>http://filippodeluca.com</url>
</developer>
</developers>)
publishMavenStyle := true
publishArtifact in Test := false
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (version.value.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
resolvers ++= Seq("Typesafe Releases" at "http://repo.typesafe.com/typesafe/releases/")