-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
100 lines (86 loc) · 2.86 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
import Dependencies._
import ReleaseTransformations._
organization := "fr.maif"
name := "functional-json"
scalaVersion := "2.12.12"
lazy val root = project in file(".")
usePgpKeyHex("ACB29F776DF78DC275FD53D701A8C4DED9143455")
sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
sonatypeCredentialHost := "s01.oss.sonatype.org"
resolvers ++= Seq(
"jitpack.io" at "https://jitpack.io"
)
libraryDependencies ++= Seq(
"io.vavr" % "vavr" % vavrVersion,
"io.vavr" % "vavr-jackson" % vavrVersion,
"com.fasterxml.jackson.core" % "jackson-core" % jacksonVersion,
"com.fasterxml.jackson.core" % "jackson-annotations" % jacksonVersion,
"com.fasterxml.jackson.core" % "jackson-databind" % jacksonVersion,
"com.fasterxml.jackson.datatype" % "jackson-datatype-jdk8" % jacksonVersion,
"com.fasterxml.jackson.datatype" % "jackson-datatype-jsr310" % jacksonVersion,
"org.projectlombok" % "lombok" % "1.18.4" % Provided,
"com.novocode" % "junit-interface" % "0.11" % Test,
"org.assertj" % "assertj-core" % "3.10.0" % Test,
"com.github.everit-org.json-schema" % "org.everit.json.schema" % "1.12.1" % Test
)
val javaVersion = "8"
javacOptions ++= Seq("-source", javaVersion, "-target", javaVersion)
javacOptions in (Compile, compile) ++= Seq(
"-target",
javaVersion,
"-Xlint:unchecked"
)
// Skip the javadoc for the moment
sources in (Compile, doc) := Seq.empty
testFrameworks := Seq(TestFrameworks.JUnit)
testOptions += Tests.Argument(TestFrameworks.JUnit, "-v")
(parallelExecution in Test) := false
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
setNextVersion,
commitNextVersion,
pushChanges
)
lazy val githubRepo = "maif/functional-json"
inThisBuild(
List(
organization := "fr.maif",
homepage := Some(url(s"https://github.com/$githubRepo")),
licenses := List(
"Apache-2.0" -> url("http:https://www.apache.org/licenses/LICENSE-2.0")
),
developers := List(
Developer(
"alexandre.delegue",
"Alexandre Delègue",
"",
url(s"https://github.com/larousso")
),
Developer(
"benjamin.cavy",
"Benjamin Cavy",
"",
url(s"https://github.com/ptitFicus")
),
Developer(
"gregory.bevan",
"Grégory Bévan",
"",
url(s"https://github.com/GregoryBevan")
),
Developer(
"georges.ginon",
"Georges Ginon",
"",
url(s"https://github.com/ftoumHub")
)
),
releaseCrossBuild := false,
crossPaths := false
)
)