Skip to content

Commit d176066

Browse files
committed
Bintray publishing
1 parent 43dbbd4 commit d176066

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

build.sbt

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import bintray.Keys._
2+
13
git.baseVersion := "1.0.0"
24

35
versionWithGit
@@ -8,11 +10,23 @@ organization := "org.scala-lang.modules"
810

911
sbtPlugin := true
1012

11-
publishTo := Some(if (version.value.trim.endsWith("SNAPSHOT")) Classpaths.sbtPluginSnapshots else Classpaths.sbtPluginReleases)
13+
// sbtVersion in Global := "0.13.1"
14+
15+
// scalaVersion in Global := "2.10.3"
16+
17+
// publishTo := Some(if (version.value.trim.endsWith("SNAPSHOT")) Classpaths.sbtPluginSnapshots else Classpaths.sbtPluginReleases)
1218

1319
publishMavenStyle := false
1420

21+
bintrayPublishSettings
22+
1523
resolvers += Classpaths.sbtPluginReleases
1624

17-
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.7.0")
25+
licenses := Seq("BSD" -> url("http://opensource.org/licenses/BSD"))
26+
27+
repository in bintray := "sbt-plugins"
1828

29+
bintrayOrganization in bintray := None
30+
31+
// this plugin depends on the sbt-osgi plugin -- 2-for-1!
32+
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.7.0")

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=0.13.0
1+
sbt.version=0.13.1

project/plugins.sbt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "0.6.2")
2+
3+
// incompatible with sbt-gpg (https://github.com/softprops/bintray-sbt/pull/10)
4+
addSbtPlugin("me.lessis" % "bintray-sbt" % "0.1.1")

0 commit comments

Comments
 (0)