-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
55 lines (46 loc) · 1.45 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
name := "apex-utils"
organization := "com.rpiaggio"
version := "1.0-SNAPSHOT"
scalaVersion := "2.11.4"
crossScalaVersions := Seq("2.10.4", "2.11.4")
libraryDependencies ++= Seq(
"org.freehep" % "freehep-io" % "2.2.2",
"joda-time" % "joda-time" % "2.5",
"org.joda" % "joda-convert" % "1.7",
"com.typesafe.play" %% "play" % "2.3.6",
"com.typesafe.play" %% "play-ws" % "2.3.6",
"com.typesafe.slick" %% "slick" % "2.1.0",
"com.typesafe.play" %% "play-slick" % "0.8.0"
)
publishMavenStyle := true
publishTo := {
val nexus = "https://oss.sonatype.org/"
// val repo = "../mvn-repo/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
// Some(Resolver.file("file", new File(repo + "snapshots") ) )
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
// Some(Resolver.file("file", new File(repo + "releases") ) )
}
pomIncludeRepository := { _ => false }
pomExtra := (
<url>http://rpiaggio.com/apex-utils</url>
<licenses>
<license>
<name>BSD-style</name>
<url>http://www.opensource.org/licenses/bsd-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:rpiaggio/apex-utils.git</url>
<connection>scm:git:[email protected]:rpiaggio/apex-utils.git</connection>
</scm>
<developers>
<developer>
<id>rpiaggio</id>
<name>Raul Piaggio</name>
<url>http://rpiaggio.com</url>
</developer>
</developers>)