swh:1:snp:aa8b4c9b793b36ad527c4b4777087a0aff8ee6b3
Tip revision: eda6174e7ddcf8d894521d075f6cb280f6a52174 authored by Romain Reuillon on 06 December 2013, 15:21:41 UTC
Setting version to 1.68
Setting version to 1.68
Tip revision: eda6174
build.sbt
organization := "fr.iscpif"
name := "mgo"
scalaVersion := "2.10.3"
resolvers ++= Seq(
"ISC-PIF Release" at "http://maven.iscpif.fr/release",
"ISC-PIF Snapshots" at "http://maven.iscpif.fr/snapshots",
"Scala Tools Snapshots" at "http://scala-tools.org/repo-snapshots/"
)
libraryDependencies += "com.github.scala-incubator.io" % "scala-io-core_2.10" % "0.4.2"
libraryDependencies += "org.apache.commons" % "commons-math3" % "3.2"
publishMavenStyle := true
publishArtifact in Test := false
//publishTo := Some(Resolver.file("file", new File(Path.userHome.absolutePath+"/.m2/repository")))
publishTo <<= version { (v: String) =>
val maven = "http://maven.iscpif.fr/"
if (v.trim.endsWith("SNAPSHOT"))
//Some(Resolver.file("file", new File(Path.userHome.absolutePath+"/.m2/repository")))
Some("snapshots" at maven + "snapshots")
else
Some("releases" at maven + "releases")
}
pomExtra := (
<url>https://github.com/romainreuillon/mgo</url>
<licenses>
<license>
<name>Affero GPLv3</name>
<url>http://www.gnu.org/licenses/</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>git@github.com:romainreuillon/mgo.git</url>
<connection>scm:git:git@github.com:romainreuillon/mgo.git</connection>
</scm>
<developers>
<developer>
<id>romainreuillon</id>
<name>Romain Reuillon</name>
</developer>
</developers>
)
credentials += Credentials(Path.userHome / ".sbt" / "iscpif.credentials")
scalariformSettings
releaseSettings