aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2016-02-04 00:05:17 -0800
committerJakob Odersky <jakob@odersky.com>2016-02-04 00:05:17 -0800
commit52af5149b79ae14a83cbbd833d63409e3edb88d9 (patch)
tree2b8321ea8a39c8a730a0cd1846ba388f3e364e19
parentbfbe18bc70a1534b0dcdea2db45cdf1a71435a6d (diff)
downloadsbt-mavlink-52af5149b79ae14a83cbbd833d63409e3edb88d9.tar.gz
sbt-mavlink-52af5149b79ae14a83cbbd833d63409e3edb88d9.tar.bz2
sbt-mavlink-52af5149b79ae14a83cbbd833d63409e3edb88d9.zip
Publish to bintray
-rw-r--r--project/Build.scala35
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>
- }
- )
-
+
}