-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.sbt
64 lines (51 loc) · 1.82 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
55
56
57
58
59
60
61
62
63
64
name := "sbt-dependency-lock"
organization := "software.purpledragon"
enablePlugins(SbtPlugin, SitePreviewPlugin, ParadoxSitePlugin, GhpagesPlugin)
val circeVersion = "0.14.9"
libraryDependencies ++= Seq(
"io.circe" %% "circe-core",
"io.circe" %% "circe-generic",
"io.circe" %% "circe-parser",
).map(_ % circeVersion)
libraryDependencies ++= Seq(
"software.purpledragon" %% "text-utils" % "1.3.1",
"org.scalatest" %% "scalatest" % "3.2.19" % Test,
)
organizationName := "Michael Stringer"
startYear := Some(2019)
licenses += ("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0.txt"))
scriptedLaunchOpts := {
scriptedLaunchOpts.value ++
Seq("-Xmx1024M", "-Dplugin.version=" + version.value)
}
ThisBuild / scapegoatVersion := "2.1.6"
developers := List(
Developer("stringbean", "Michael Stringer", "@the_stringbean", url("https://github.com/stringbean")),
)
homepage := Some(url("https://github.com/stringbean/sbt-dependency-lock"))
scmInfo := Some(
ScmInfo(
url("https://github.com/stringbean/sbt-dependency-lock"),
"https://github.com/stringbean/sbt-dependency-lock.git"))
git.remoteRepo := "[email protected]:stringbean/sbt-dependency-lock.git"
paradoxNavigationDepth := 3
publishTo := sonatypePublishToBundle.value
import sbtrelease.ReleasePlugin.autoImport.ReleaseTransformations.*
releasePublishArtifactsAction := PgpKeys.publishSigned.value
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
releaseStepInputTask(scripted),
setReleaseVersion,
commitReleaseVersion,
tagRelease,
publishArtifacts,
releaseStepCommand("sonatypeBundleRelease"),
releaseStepTask(ghpagesPushSite),
setNextVersion,
commitNextVersion,
pushChanges,
)
previewLaunchBrowser := false