forked from hochgi/sbt-cassandra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
55 lines (42 loc) · 1.7 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
sbtPlugin := true
organization := "com.github.hochgi"
name := "sbt-cassandra-plugin"
description := "SBT plugin to allow launching Cassandra during tests, and test your application against it"
version := "0.6"
scalaVersion := "2.10.4"
libraryDependencies ++= Seq("org.apache.thrift" % "libthrift" % "0.9.2" exclude("commons-logging","commons-logging"),
"org.slf4j" % "slf4j-api" % "1.7.12",
"org.slf4j" % "jcl-over-slf4j" % "1.7.12",
"org.yaml" % "snakeyaml" % "1.15",
"me.lessis" %% "semverfi" % "0.1.3")
scalacOptions ++= Seq("-deprecation", "-feature", "-unchecked", "-language:postfixOps")
net.virtualvoid.sbt.graph.Plugin.graphSettings
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")
}
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { x => false }
pomExtra := (
<url>http://github.com/hochgi/sbt-cassandra-plugin</url>
<licenses>
<license>
<name>The MIT License (MIT)</name>
<url>http://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:kpbochenek/sbt-cassandra-plugin.git</url>
<connection>scm:git:[email protected]:kpbochenek/sbt-cassandra-plugin.git</connection>
</scm>
<developers>
<developer>
<id>hochgi</id>
<name>Thomson Reuters</name>
<url>https://github.com/hochgi</url>
</developer>
</developers>
)