-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
67 lines (64 loc) · 2.12 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
val github = "https://github.com"
val org = "springernature"
val projectName = "fs2-pdf"
val repoPath = s"$org/$projectName"
val repo = s"$github/$repoPath"
val specs2Version = "4.6.0"
val log4catsVersion = "1.0.0"
name := "fs2-pdf"
addCompilerPlugin("org.typelevel" %% "kind-projector" % "0.10.3")
addCompilerPlugin("com.olegpy" %% "better-monadic-for" % "0.3.0")
libraryDependencies ++= List(
"org.scodec" %% "scodec-stream" % "2.0.0",
"org.scodec" %% "scodec-cats" % "1.0.0",
"io.chrisdavenport" %% "log4cats-noop" % log4catsVersion,
"io.chrisdavenport" %% "log4cats-slf4j" % log4catsVersion,
"co.fs2" %% "fs2-io" % "2.2.2" % Test,
"org.slf4j" % "slf4j-simple" % "1.7.28" % Test,
)
ThisBuild / organization := "com.springernature"
ThisBuild / scalaVersion := "2.13.1"
ThisBuild / libraryDependencies += "org.specs2" %% "specs2-core" % specs2Version % Test
ThisBuild / scalacOptions ++= List(
"-deprecation",
"-unchecked",
"-feature",
"-language:higherKinds",
"-Ywarn-value-discard",
"-Ywarn-unused:imports",
"-Ywarn-unused:implicits",
"-Ywarn-unused:params",
"-Ywarn-unused:patvars",
)
ThisBuild / fork := true
ThisBuild / licenses := List("Apache 2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
ThisBuild / homepage := Some(url(repo))
ThisBuild / scmInfo := Some(ScmInfo(url(repo), s"scm:git@github.com:$repoPath"))
ThisBuild / developers := List(
Developer(
id = "tek",
name = "Torsten Schmits",
email = "torstenschmits@gmail.com",
url = url(s"$github/tek"),
),
Developer(
id = "springfield",
name = "Springfield",
email = "spring-field@springernature.com",
url = url(s"$github/$org"),
)
)
ThisBuild / update / evictionWarningOptions := EvictionWarningOptions.default.withWarnTransitiveEvictions(false)
ThisBuild / autoAPIMappings := true
Compile / doc / scalacOptions ++= List("-groups", "-implicits")
import ReleaseTransformations._
releaseProcess := Seq[ReleaseStep](
// inquireVersions,
runClean,
// setReleaseVersion,
releaseStepCommandAndRemaining("publish"),
releaseStepCommand("sonatypeReleaseAll"),
tagRelease,
// setNextVersion,
// commitNextVersion,
)