diff options
Diffstat (limited to 'project/Build.scala')
-rw-r--r-- | project/Build.scala | 35 |
1 files changed, 5 insertions, 30 deletions
diff --git a/project/Build.scala b/project/Build.scala index bb3abfc..effe8ac 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -7,11 +7,12 @@ import sbt.ScriptedPlugin._ object ApplicationBuild extends Build { val common = Seq( - scalaVersion := "2.10.4", + scalaVersion := "2.10.5", scalacOptions ++= Seq("-feature", "-deprecation"), organization := "com.github.jodersky", - version := "0.5.2" - ) ++ publishSettings + version := "0.5.2", + licenses := Seq(("LGPL", url("http://opensource.org/licenses/LGPL-3.0"))) + ) lazy val root = ( Project("root", file(".")) @@ -50,32 +51,6 @@ object ApplicationBuild extends Build { ) dependsOn(library) ) - - lazy val publishSettings: Seq[Setting[_]] = Seq( - licenses := Seq(("LGPL", url("http://opensource.org/licenses/LGPL-3.0"))), - homepage := Some(url("http://github.com/jodersky/sbt-mavlink")), - publishMavenStyle := true, - 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") - }, - pomIncludeRepository := { _ => false }, - pomExtra := { - <scm> - <url>git@github.com:jodersky/sbt-mavlink.git</url> - <connection>scm:git:git@github.com:jodersky/sbt-mavlink.git</connection> - </scm> - <developers> - <developer> - <id>jodersky</id> - <name>Jakob Odersky</name> - </developer> - </developers> - } - ) - + } |