-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
42 lines (39 loc) · 1.08 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
lazy val core = project
.in(file("core"))
.settings(name := "sbt-commandmatrix")
.enablePlugins(SbtPlugin)
.settings(
addSbtPlugin("com.eed3si9n" % "sbt-projectmatrix" % "0.10.0"),
scriptedLaunchOpts := {
scriptedLaunchOpts.value ++
Seq("-Xmx1024M", "-Dplugin.version=" + version.value)
},
scriptedBufferLog := false
)
publish / skip := true
inThisBuild(
Seq(
version := {
val orig = (ThisBuild / version).value
if (orig.endsWith("-SNAPSHOT") && !sys.env.contains("CI"))
"0.1.0-SNAPSHOT"
else orig
},
organization := "com.indoorvivants",
organizationName := "Anton Sviridov",
homepage := Some(url("https://github.com/indoorvivants/sbt-commandmatrix")),
startYear := Some(2021),
licenses := List(
"Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")
),
developers := List(
Developer(
"velvetbaldmime",
"Anton Sviridov",
"keynmol@gmail.com",
url("https://blog.indoorvivants.com")
)
)
)
)
addCommandAlias("ci", "scripted;publishLocal")