forked from scalacenter/sbt-missinglink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
54 lines (53 loc) · 1.54 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
inThisBuild(
Def.settings(
scalaVersion := "2.12.9",
organization := "ch.epfl.scala",
version := "0.3.2-SNAPSHOT",
homepage := Some(url("https://github.com/scalacenter/sbt-missinglink")),
licenses += ("BSD New",
url("https://github.com/scalacenter/sbt-missinglink/blob/master/LICENSE")),
scmInfo := Some(
ScmInfo(
url("https://github.com/scalacenter/sbt-missinglink"),
"scm:git:[email protected]:scalacenter/sbt-missinglink.git",
Some("scm:git:[email protected]:scalacenter/sbt-missinglink.git")
)
),
publishMavenStyle := true,
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (version.value.endsWith("-SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
},
pomExtra := (
// format: off
<developers>
<developer>
<id>sjrd</id>
<name>Sébastien Doeraene</name>
<url>https://github.com/sjrd/</url>
</developer>
</developers>
// format: on
),
pomIncludeRepository := { _ =>
false
},
)
)
lazy val `sbt-missinglink` = project
.in(file("."))
.enablePlugins(SbtPlugin)
.settings(
libraryDependencies ++= Seq(
"com.spotify" % "missinglink-core" % "0.2.1"
),
// configuration fro scripted
scriptedLaunchOpts := {
scriptedLaunchOpts.value ++
Seq("-Xmx1024M", "-Dplugin.version=" + version.value)
},
scriptedBufferLog := false,
)