-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathbuild.sbt
50 lines (39 loc) · 1.26 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
organization := "se.fishtank"
name := "css-selectors-scala"
version := "0.1.2"
scalaVersion := "2.9.2"
crossScalaVersions := Seq("2.9.2", "2.9.1")
scalacOptions ++= Seq("-deprecation", "-unchecked", "-Xcheckinit", "-Xmigration", "-encoding", "UTF-8")
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "1.6.1" % "test"
)
publishMavenStyle := true
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 := { x => false }
pomExtra := (
<url>http://github.com/chrsan/css-selectors-scala</url>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:chrsan/css-selectors-scala.git</url>
<connection>scm:git:[email protected]:chrsan/css-selectors-scala.git</connection>
</scm>
<developers>
<developer>
<id>chrsan</id>
<name>Christer Sandberg</name>
<url>http://chrsan.github.com</url>
</developer>
</developers>)