-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
31 lines (25 loc) · 830 Bytes
/
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
name := "rock-paper-scissors"
organization := "com.fabiocognigni"
version := "1.0"
scalaVersion := "2.11.7"
val scalatestVersion = "2.2.4"
/**
* Dependencies for tests
*/
libraryDependencies ++= Seq("org.scalatest" %% "scalatest" % scalatestVersion % "test")
/**
* Coverage settings
*/
coverageMinimum := 95
coverageFailOnMinimum := true
//Excluding main class since meant to drive the manual testing and it's not observable (it only prints to stdout)
//coverageExcludedFiles := ".*PlayGame"
/**
* Assembly settings
*/
mainClass in assembly := Some("com.fabiocognigni.rock_paper_scissors.PlayGame")
assemblyJarName in assembly := "rock-paper-scissors-" + version.value + ".jar"
assemblyMergeStrategy in assembly := {
case PathList("META-INF", "MANIFEST.MF") => MergeStrategy.discard
case _ => MergeStrategy.first
}