-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
46 lines (37 loc) · 1.21 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
ThisBuild / organization := "com.scalawilliam.esbeetee"
enablePlugins(SbtPlugin)
name := "sbt-vspp"
scriptedLaunchOpts := {
scriptedLaunchOpts.value ++
Seq("-Xmx1024M", "-Dplugin.version=" + version.value)
}
scriptedBufferLog := false
description := "SBT plugin for publishing maven compatible POM for SBT plugins"
developers := List(
Developer(
"ScalaWilliam",
"ScalaWilliam",
url("https://github.com/scalawilliam/"),
),
Developer(
"wudong",
"Wudong Liu",
url("https://github.com/wudong"),
),
)
scmInfo := Some(ScmInfo(
url("https://github.com/esbeetee/sbt-consistent"),
"[email protected]:esbeetee/sbt-consistent.git",
))
homepage := Some(url("https://github.com/esbeetee/sbt-consistent"))
GlobalScope / licenses += "Apache License 2.0" ->
url("https://github.com/spray/sbt-revolver/raw/master/LICENSE")
publishMavenStyle := true
credentials += Credentials(Path.userHome / ".sbt" / "sonatype_credentials")
publishTo := Some {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value) "snapshots" at s"${nexus}content/repositories/snapshots"
else "releases" at s"${nexus}service/local/staging/deploy/maven2"
}