forked from stringbean/sbt-dependency-lock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
68 lines (54 loc) · 1.8 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
65
66
67
68
name := "sbt-dependency-lock"
organization := "software.purpledragon"
enablePlugins(
SbtPlugin,
ParadoxSitePlugin,
GhpagesPlugin)
// target sbt 1.2.8 to allow 1.0+ compatibility
pluginCrossBuild / sbtVersion := "1.2.8"
val circeVersion = "0.14.1"
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.9" % Test
)
organizationName := "Michael Stringer"
startYear := Some(2019)
licenses += ("Apache-2.0", new URL("https://www.apache.org/licenses/LICENSE-2.0.txt"))
scriptedLaunchOpts := { scriptedLaunchOpts.value ++
Seq("-Xmx1024M", "-Dplugin.version=" + version.value)
}
ThisBuild / scapegoatVersion := "1.4.9"
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"
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