Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
60 lines (45 sloc) 1.793 kb
name := "ensime-sbt"
organization := "org.ensime"
version := "0.1.7-SNAPSHOT"
sbtPlugin := true
scalacOptions in Compile ++= Seq(
"-encoding", "UTF-8", "-target:jvm-1.6", "-feature", "-deprecation",
"-Xfatal-warnings",
"-language:postfixOps", "-language:implicitConversions"
//"-P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.Unsafe"
//"-P:wartremover:traverser:org.brianmckenna.wartremover.warts.Unsafe"
)
// we depend on scalariform to read the settings this might result in
// upgrades to the underlying scalariform that the project may be
// using, resulting in unintended reformatting as a result of
// regressions / bugfixes in upstream.
addSbtPlugin("org.scalariform" %% "sbt-scalariform" % "1.4.0")
//scalariformSettings
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
homepage := Some(url("http://github.com/ensime/ensime-server"))
licenses := Seq("BSD 3 Clause" -> url("http://opensource.org/licenses/BSD-3-Clause"))
publishTo <<= version { v: String =>
val nexus = "https://oss.sonatype.org/"
if (v.contains("SNAP")) Some("snapshots" at nexus + "content/repositories/snapshots")
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
credentials ++= {
for {
username <- sys.env.get("SONATYPE_USERNAME")
password <- sys.env.get("SONATYPE_PASSWORD")
} yield Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", username, password)
}.toSeq
pomExtra := (
<scm>
<url>git@github.com:ensime/ensime-sbt.git</url>
<connection>scm:git:git@github.com:ensime/ensime-sbt.git</connection>
</scm>
<developers>
<developer>
<id>fommil</id>
<name>Sam Halliday</name>
</developer>
</developers>
)
Jump to Line
Something went wrong with that request. Please try again.