-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
31 lines (23 loc) · 882 Bytes
/
build.sbt
File metadata and controls
31 lines (23 loc) · 882 Bytes
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
name := "libunit"
version := "2.1.0"
organization := "com.thirdship"
scalaVersion := "2.12.6"
scalacOptions ++= Seq("-feature", "-unchecked", "-deprecation", "-Xfatal-warnings")
scalacOptions ++= Seq("-encoding", "utf-8")
// ScalaTest - Unit Testing with ScalaMock mocking
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.1" % "test",
"com.typesafe.scala-logging" %% "scala-logging" % "3.7.2",
"org.reflections" % "reflections" % "0.9.10",
"org.atteo" % "evo-inflector" % "1.0.1",
"com.thirdship" %% "name-generator" % "0.1.0"
)
publishTo := {
val nexus = "https://sbt.johnstarich.com/"
if (version.value.trim.endsWith("SNAPSHOT")) {
Some("snapshots" at nexus + "repository/maven-snapshots")
} else {
Some("releases" at nexus + "repository/maven-releases")
}
}
credentials += Credentials(Path.userHome / ".sbt" / ".credentials" / "thirdship")