-
Notifications
You must be signed in to change notification settings - Fork 25
/
build.sbt
71 lines (54 loc) · 1.86 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
65
66
67
68
69
70
//Project Information
name := "actuarius"
description := "Actuarius is a Markdown Processor written in Scala using parser combinators."
scalaVersion := "2.10.0"
scalacOptions += "-deprecation"
publishMavenStyle := true
autoCompilerPlugins := true
organization := "eu.henkelmann"
resolvers += "Scala Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/"
resolvers += "Scala" at "https://oss.sonatype.org/content/groups/scala-tools/"
version := "0.2.7-SNAPSHOT"
crossScalaVersions in ThisBuild := Seq("2.9.2", "2.10.0")
libraryDependencies ++= {
Seq(
"org.scalatest" %% "scalatest" % "1.8" % "test" withSources(),
"junit" % "junit" % "4.8.2" % "test"
)
}
//TODO: reactivate once junit-XML listener is on maven central
//testListeners <<= target.map(t => Seq(new eu.henkelmann.sbt.JUnitXmlTestsListener(t.getAbsolutePath)))
publishTo <<= version { (v: String) =>
val nexus = "https://oss.sonatype.org/"
if (v.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
pomExtra := (
<url>https://github.com/chenkelmann/actuarius</url>
<licenses>
<license>
<name>BSD 3 clause</name>
<url>http://opensource.org/licenses/BSD-3-Clause</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>https://github.com/chenkelmann/actuarius.git</url>
<connection>scm:git:git://github.com/chenkelmann/actuarius.git</connection>
</scm>
<developers>
<developer>
<id>chenkelmann</id>
<name>Christoph Henkelmann</name>
<url>http://henkelmann.eu/</url>
</developer>
<developer>
<id>dpp</id>
<name>David Pollak</name>
<url>http://blog.goodstuff.im</url>
</developer>
</developers>)