forked from chenkelmann/actuarius
-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.sbt
70 lines (53 loc) · 1.8 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
//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 := "org.hoisted"
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.5-SNAPSHOT"
crossScalaVersions in ThisBuild := Seq("2.10.0", "2.9.2", "2.9.1")
libraryDependencies ++= {
Seq(
"org.scalatest" %% "scalatest" % "1.9.1" % "test" withSources(),
"junit" % "junit" % "4.8.2" % "test"
)
}
// 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/hoisted/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/hoisted/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>)