-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathbuild.sbt
47 lines (35 loc) · 1.24 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
sbtPlugin := true
name := "sbt-pillar-plugin"
description := "sbt plugin for cassandra schema/data migrations using pillar (https://github.com/comeara/pillar)"
organization := "io.ino"
version := "2.1.3"
licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.html"))
sbtVersion in Global := "1.0.3"
crossSbtVersions := Seq("1.0.3", "0.13.16")
scalacOptions += "-target:jvm-1.8"
libraryDependencies ++= Seq(
"de.kaufhof" %% "pillar" % "4.1.1",
"com.datastax.cassandra" % "cassandra-driver-core" % "3.3.0"
)
// Maven publishing info
publishMavenStyle := true
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (version.value.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
pomExtra := (
<url>https://github.com/inoio/sbt-pillar-plugin</url>
<scm>
<url>[email protected]:inoio/sbt-pillar-plugin.git</url>
<connection>scm:git:[email protected]:inoio/sbt-pillar-plugin.git</connection>
</scm>
<developers>
<developer>
<id>martin.grotzke</id>
<name>Martin Grotzke</name>
<url>https://github.com/magro</url>
</developer>
</developers>)