https://github.com/clulab/reach
Tip revision: 6f1c1d9b063a491bc88994487a140ec7d0f023aa authored by Tom Hicks on 10 July 2016, 20:16:10 UTC
Make build use BR 1.1.10; last version before 5-col reformatting.
Make build use BR 1.1.10; last version before 5-col reformatting.
Tip revision: 6f1c1d9
build.sbt
name := "reach"
version := "1.3.1-SNAPSHOT"
organization := "org.clulab"
scalaVersion := "2.11.6"
scalacOptions ++= Seq("-feature", "-unchecked", "-deprecation")
testOptions in Test += Tests.Argument("-oD")
parallelExecution in Test := false
// forward sbt's stdin to forked process
connectInput in run := true
// don't show output prefix
outputStrategy := Some(StdoutOutput)
//
// publishing settings
//
// publish to a maven repo
publishMavenStyle := true
// the standard maven repository
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")
}
// let’s remove any repositories for optional dependencies in our artifact
pomIncludeRepository := { _ => false }
// mandatory stuff to add to the pom for publishing
pomExtra := (
<url>https://github.com/clulab/reach</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>https://github.com/clulab/reach</url>
<connection>https://github.com/clulab/reach</connection>
</scm>
<developers>
<developer>
<id>mihai.surdeanu</id>
<name>Mihai Surdeanu</name>
<email>mihai@surdeanu.info</email>
</developer>
</developers>)
//
// end publishing settings
//
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "2.2.4" % "test",
"org.clulab" % "bioresources" % "1.1.10",
"org.clulab" %% "processors" % "5.9.0",
"org.clulab" %% "processors" % "5.9.0" classifier "models",
"com.typesafe" % "config" % "1.2.1",
"commons-io" % "commons-io" % "2.4",
"org.biopax.paxtools" % "paxtools-core" % "4.3.1",
"jline" % "jline" % "2.12.1",
"org.apache.lucene" % "lucene-core" % "5.3.1",
"org.apache.lucene" % "lucene-analyzers-common" % "5.3.1",
"org.apache.lucene" % "lucene-queryparser" % "5.3.1"
)
// settings for building project website
site.settings
// include documentation
site.includeScaladoc()
ghpages.settings
git.remoteRepo := "git@github.com:clulab/reach.git"