-
Notifications
You must be signed in to change notification settings - Fork 77
/
build.sbt
31 lines (18 loc) · 804 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
sbtPlugin := true
name := "ensime-sbt-cmd"
organization := "org.ensime"
version := "0.0.7-SNAPSHOT"
libraryDependencies += "net.liftweb" %% "lift-json" % "2.4-M4"
crossScalaVersions := Seq("2.9.0", "2.9.1")
scalacOptions := Seq("-deprecation", "-unchecked")
publishTo <<= version { (v: String) =>
val nexus = "http://nexus.scala-tools.org/content/repositories/"
if(v endsWith "-SNAPSHOT") Some("Scala Tools Nexus" at nexus + "snapshots/")
else Some("Scala Tools Nexus" at nexus + "releases/")
}
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
publishArtifact in (Compile, packageBin) := true
publishArtifact in (Test, packageBin) := false
publishArtifact in (Compile, packageDoc) := false
publishArtifact in (Compile, packageSrc) := false
publishMavenStyle := true