-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.sbt
81 lines (57 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
import xerial.sbt.Sonatype._
import ReleaseTransformations._
import ScalaVer._
name := "typesafe-config-scala"
organization := "com.github.andyglow"
homepage := Some(new URL("http://github.com/andyglow/typesafe-config-scala"))
startYear := Some(2017)
organizationName := "andyglow"
publishTo := sonatypePublishTo.value
scalaVersion := (ScalaVer.fromEnv getOrElse ScalaVer.default).full
crossScalaVersions := ScalaVer.values.map(_.full)
scalaV := ScalaVer.fromString(scalaVersion.value) getOrElse ScalaVer.default
scalacOptions := CompilerOptions(scalaV.value)
Compile / doc / scalacOptions ++= Seq(
"-groups",
"-implicits",
"-no-link-warnings")
Test / fork := true
Test / javaOptions ++= Seq(
"-Djava.locale.providers=COMPAT, CLDR")
licenses := Seq(("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0")))
sonatypeProfileName := "com.github.andyglow"
publishMavenStyle := true
sonatypeProjectHosting := Some(
GitHubHosting(
"andyglow",
"typesafe-config-scala",
scmInfo := Some(
ScmInfo(
url("https://github.com/andyglow/typesafe-config-scala"),
"scm:[email protected]:andyglow/typesafe-config-scala.git"))
developers := List(
Developer(
id = "andyglow",
name = "Andriy Onyshchuk",
email = "[email protected]",
url = url("https://ua.linkedin.com/in/andyglow")))
releaseCrossBuild := true
libraryDependencies ++= Seq(
"com.typesafe" % "config" % "1.4.3",
"org.scalatest" %% "scalatest" % "3.2.19" % Test)
releaseCrossBuild := true
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
releaseStepCommandAndRemaining("+publishSigned"),
setNextVersion,
commitNextVersion,
releaseStepCommand("sonatypeReleaseAll"),
pushChanges
)