-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
61 lines (42 loc) · 1.49 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
// xsbt clean unidoc previewSite
// xsbt clean unidoc ghpagesPushSite
// xsbt -Dsbt.global.base=/home/eje/.sbt/sonatype +publish
name := "isarn-scalatest"
organization := "org.isarnproject"
version := "0.0.4-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/"))
scmInfo := Some(
ScmInfo(
url("https://github.com/isarn/isarn-scalatest"),
"scm:[email protected]:isarn/isarn-scalatest.git"
)
)
developers := List(
Developer(
id = "erikerlandson",
name = "Erik Erlandson",
email = "[email protected]",
url = url("https://erikerlandson.github.io/")
)
)
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.5"
)
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-scalatest.git"