-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
53 lines (36 loc) · 1.27 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
organization := "com.marekkadek"
name := "forcedtodo"
licenses += ("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0.html"))
homepage := Some(url("https://github.com/KadekM/scala-forced-todo"))
organization := "com.marekkadek"
version := "0.0.2-SNAPSHOT"
scalaVersion := "2.11.8"
crossScalaVersions := Seq("2.10.4", "2.11.8")
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-compiler" % scalaVersion.value % "provided",
"com.lihaoyi" %% "utest" % "0.3.1" % Test
)
testFrameworks += new TestFramework("utest.runner.Framework")
unmanagedSourceDirectories in Test <+= baseDirectory(_ / "src" / "test" / "resources")
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
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 :=
<scm>
<url>https://github.com/kadekm/scala-forced-todo</url>
<connection>scm:git://github.com/kadekm/.git</connection>
</scm>
<developers>
<developer>
<id>kadekm</id>
<name>Marek Kadek</name>
<url>https://github.com/KadekM</url>
</developer>
</developers>