-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
27 lines (17 loc) · 701 Bytes
/
Copy pathbuild.sbt
File metadata and controls
27 lines (17 loc) · 701 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
name := "sgitl"
organization := "com.github.reggert"
version := "0.0.1-SNAPSHOT"
scalaVersion := "2.10.0"
scalacOptions ++= Seq("-deprecation", "-unchecked", "-feature", "-language:implicitConversions")
publishMavenStyle := true
publishTo <<= version { (v: String) =>
val nexus = "https://oss.sonatype.org/"
if (v.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
libraryDependencies += "org.scalatest" % "scalatest_2.10" % "1.9.1" % "test"
libraryDependencies += "junit" % "junit" % "4.11" % "test"