-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
43 lines (33 loc) · 1.14 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
name := "sbt-autojump"
organization := "xyz.luisfonseca"
version := "1.0.1"
scalaVersion := "2.10.6"
licenses := Seq("MIT License" -> url("https://raw.githubusercontent.com/luismfonseca/sbt-autojump/master/LICENSE"))
sbtPlugin := true
// Scripted - sbt plugin tests
scriptedSettings
scriptedLaunchOpts <+= version apply { v => "-Dproject.version="+v }
test <<= scriptedTask.toTask("")
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
pomIncludeRepository := { _ => false }
pomExtra := {
<url>https://github.com/luismfonseca/sbt-autojump</url>
<scm>
<connection>scm:git:github.com/luismfonseca/sbt-autojump.git</connection>
<developerConnection>scm:git:git@github.com:luismfonseca/sbt-autojump.git</developerConnection>
<url>github.com/luismfonseca/sbt-autojump.git</url>
</scm>
<developers>
<developer>
<id>luismfonseca</id>
<name>Luís Fonseca</name>
<url>www.luisfonseca.xyz</url>
</developer>
</developers>
}