-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
63 lines (44 loc) · 1.69 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
// xsbt clean unidoc previewSite
// xsbt clean unidoc ghpagesPushSite
// xsbt -Dsbt.global.base=/home/eje/.sbt/sonatype +publish
name := "isarn-algebird-algebra-api"
organization := "org.isarnproject"
version := "0.0.5-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-algebird-algebra-api"))
scmInfo := Some(
ScmInfo(
url("https://github.com/isarn/isarn-algebird-algebra-api"),
"scm:git@github.com:isarn/isarn-algebird-algebra-api.git"
)
)
developers := List(
Developer(
id = "erikerlandson",
name = "Erik Erlandson",
email = "eje@redhat.com",
url = url("https://erikerlandson.github.io/")
)
)
libraryDependencies ++= Seq(
"com.twitter" %% "algebird-core" % "0.13.4" % Provided,
"org.isarnproject" %% "isarn-algebra-api" % "0.0.3" % Provided,
"org.scalatest" %% "scalatest" % "3.0.5" % 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 := "git@github.com:isarn/isarn-algebird-algebra-api.git"