forked from imsky/wordlists
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
54 lines (52 loc) · 1.57 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
/**
* Main SBT Build Script
*/
import ReleaseTransformations._
lazy val root = project.in(file("."))
.settings(
name := "scala-moniker",
organization := "com.github.halfmatthalfcat",
scalaVersion := "2.13.1",
crossScalaVersions := Seq("2.13.1", "2.12.10"),
crossVersion := CrossVersion.binary,
releaseCrossBuild := true,
libraryDependencies ++= Seq(
"com.beachape" %% "enumeratum" % "1.5.15",
),
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
releaseStepCommandAndRemaining("+publishSigned"),
releaseStepCommand("sonatypeBundleRelease"),
setNextVersion,
commitNextVersion,
pushChanges
),
pomExtra :=
<url>https://www.github.com/halfmatthalfcat/scala-moniker</url>
<licenses>
<license>
<name>MIT</name>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>git@github.com:halfmatthalfcat/scala-moniker.git</url>
<connection>scm:git:git@github.com:halfmatthalfcat/scala-moniker.git</connection>
</scm>
<developers>
<developer>
<id>halfmatthalfcat</id>
<name>Matt Oliver</name>
<url>https://www.github.com/halfmatthalfcat</url>
</developer>
</developers>,
publishMavenStyle := true,
publishTo := sonatypePublishToBundle.value,
resolvers ++= Seq(DefaultMavenRepository),
)