-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
64 lines (45 loc) · 1.81 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
64
// xsbt clean unidoc previewSite
// xsbt clean unidoc ghpagesPushSite
// xsbt -Dsbt.global.base=/home/eje/.sbt/sonatype +publish
name := "isarn-sketches-algebird-api"
organization := "org.isarnproject"
version := "0.1.3-SNAPSHOT"
scalaVersion := "2.11.12"
crossScalaVersions := Seq("2.11.12", "2.12.6")
pomIncludeRepository := { _ => false }
publishMavenStyle := true
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
licenses += ("Apache-2.0", url("http://opensource.org/licenses/Apache-2.0"))
homepage := Some(url("https://github.com/isarn/isarn-sketches-algebird-api"))
scmInfo := Some(
ScmInfo(
url("https://github.com/isarn/isarn-sketches-algebird-api"),
"scm:[email protected]:isarn/isarn-sketches-algebird-api.git"
)
)
developers := List(
Developer(
id = "erikerlandson",
name = "Erik Erlandson",
email = "[email protected]",
url = url("https://erikerlandson.github.io/")
)
)
libraryDependencies ++= Seq(
"org.isarnproject" %% "isarn-sketches" % "0.1.2" % Provided,
"com.twitter" %% "algebird-core" % "0.13.4" % Provided,
"org.isarnproject" %% "isarn-scalatest" % "0.0.3" % Test,
"org.scalatest" %% "scalatest" % "3.0.5" % Test,
"org.apache.commons" % "commons-math3" % "3.6.1" % Test)
scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature")
scalacOptions in (Compile, doc) ++= Seq("-doc-root-content", baseDirectory.value+"/root-doc.txt")
enablePlugins(ScalaUnidocPlugin, GhpagesPlugin)
siteSubdirName in ScalaUnidoc := "latest/api"
addMappingsToSiteDir(mappings in (ScalaUnidoc, packageDoc), siteSubdirName in ScalaUnidoc)
git.remoteRepo := "[email protected]:isarn/isarn-sketches-algebird-api.git"