-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
58 lines (38 loc) · 1.71 KB
/
build.sbt
File metadata and controls
58 lines (38 loc) · 1.71 KB
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
name := "frontlets"
organization := "org.riedelcastro.frontlets"
// The := method used in Name and Version is one of two fundamental methods.
// The other method is <<=
// All other initialization methods are implemented in terms of these.
//version := "0.1-SNAPSHOT"
crossScalaVersions := Seq("2.9.1", "2.9.2","2.10.0", "2.10.2")
scalaVersion := "2.9.2"
resolvers ++= Seq(
"IESL third party" at "https://dev-iesl.cs.umass.edu/nexus/content/repositories/thirdparty/",
"IESL snapshots" at "https://dev-iesl.cs.umass.edu/nexus/content/repositories/snapshots",
"IESL releases" at "https://dev-iesl.cs.umass.edu/nexus/content/repositories/releases"
)
scalacOptions ++= Seq("-unchecked","-deprecation")
// Add multiple dependencies
libraryDependencies ++= Seq(
"com.lambdaworks" % "jacks" % "2.0.4",
"org.mongodb" % "mongo-java-driver" % "2.10.1",
"org.riedelcastro.nurupo" %% "nurupo" % "0.1-SNAPSHOT",
"org.scalatest" %% "scalatest" % "1.9.1" % "test",
"org.mockito" % "mockito-all" % "1.9.0" % "test",
"org.apache.bcel" % "bcel" % "5.2"
// "com.novus" %% "salat" % "1.9.1"
)
publishTo <<= (version) { version: String =>
val homeniscient = "http://homeniscient.cs.ucl.ac.uk:8081/nexus/content/repositories/"
if (version.trim.endsWith("SNAPSHOT")) Some("snapshots" at homeniscient + "snapshots/")
else Some("releases" at homeniscient + "releases/")
}
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials-homeniscient")
releaseSettings
site.settings
site.includeScaladoc()
//seq(site.settings:_*)
seq(ghpages.settings:_*)
git.remoteRepo := "git@github.com:riedelcastro/frontlets.git"
//fork in run := true
//javaOptions in run += "-Xmx8G"