-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
89 lines (63 loc) · 1.85 KB
/
build.sbt
File metadata and controls
89 lines (63 loc) · 1.85 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
import SiteKeys._
import GhReadmeKeys._
import GhPagesKeys.ghpagesNoJekyll
import SonatypeKeys._
//
// Basic project information.
//
name := "anyxml"
version := "0.1"
description := "A forgiving, literal XML parser and serializer."
homepage := Some(url("http://zman.io/anyxml/"))
startYear := Some(2014)
organization := "io.zman"
organizationName := "zman.io"
organizationHomepage := Some(url("http://zman.io/"))
scalaVersion := "2.10.4"
libraryDependencies ++= Seq(
"junit" % "junit-dep" % "4.10" % "test",
"com.novocode" % "junit-interface" % "0.11" % "test"
)
licenses := Seq("The BSD 3-Clause License" -> url("http://opensource.org/licenses/BSD-3-Clause"))
ScoverageSbtPlugin.instrumentSettings
CoverallsPlugin.coverallsSettings
//
// Documentation site generation.
//
site.settings
includeFilter in makeSite := "*.html" | "*.css" | "*.png" | "*.jpg" | "*.gif" | "*.js" | "*.md" | "*.yml"
site.includeScaladoc("api")
ghreadme.settings
readmeMappings ++= Seq(
"." --- Seq(
"title" -> "about",
"headline" -> "a forgiving, literal XML parser and serializer",
"layout" -> "home"
),
"changelog" --- Seq(
"title" -> "changelog",
"headline" -> "a look back at the great XML struggles of yore",
"layout" -> "page"
)
)
ghpages.settings
ghpagesNoJekyll := false
git.remoteRepo := (sys.env get "GH_TOKEN" map (t => s"https://$t:@github.com/") getOrElse "git@github.com:") + "zmanio/anyxml.git"
//
// Publishing to Sonatype
//
sonatypeSettings
pomExtra := (
<scm>
<url>git@github.com:zmanio/anyxml.git</url>
<connection>scm:git:git@github.com:zmanio/anyxml.git</connection>
<developerConnection>scm:git:git@github.com:zmanio/anyxml.git</developerConnection>
</scm>
<developers>
<developer>
<id>lonnie</id>
<name>Lonnie Pryor</name>
<url>http://zman.io</url>
</developer>
</developers>
)