-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
executable file
·72 lines (57 loc) · 1.69 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
name := "hasheq"
version := "0.3"
organization := "com.github.tomasmikula"
scalaVersion := "2.12.1"
crossScalaVersions := Seq("2.11.8", "2.12.1")
addCompilerPlugin("org.spire-math" %% "kind-projector" % "0.9.3")
addCompilerPlugin("org.psywerx.hairyfotr" %% "linter" % "0.1.17")
scalacOptions ++= Seq(
"-Xlint",
"-unchecked",
"-deprecation",
"-feature",
//"-Xfatal-warnings",
"-Yno-adapted-args",
"-Ywarn-numeric-widen",
"-Ywarn-value-discard",
"-Ypatmat-exhaust-depth", "40",
"-Xfuture")
libraryDependencies ++= Seq(
"org.scalacheck" %% "scalacheck" % "1.13.4",
"org.scalatest" %% "scalatest" % "3.0.0" % "test"
)
// send test results back to sbt (-o), display all durations (D),
// and full stack traces (F)
testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-oDF")
fork in Test := false // true causes NotSerializableException
tutSettings
/******************
*** Publishing ***
******************/
publishMavenStyle := true
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
pomExtra := (
<url>https://github.com/TomasMikula/hasheq</url>
<licenses>
<license>
<name>Scala License</name>
<url>http://www.scala-lang.org/license.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:TomasMikula/hasheq.git</url>
<connection>scm:git:[email protected]:TomasMikula/hasheq.git</connection>
</scm>
<developers>
<developer>
<id>TomasMikula</id>
<name>Tomas Mikula</name>
</developer>
</developers>)