aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorJakob Odersky <jodersky@gmail.com>2016-01-17 19:14:08 -0800
committerJakob Odersky <jodersky@gmail.com>2016-01-17 19:14:08 -0800
commit17d425c3eb07ed1110682dd1673acd0765c3ee1a (patch)
tree9c31e5f7714e672611fd464582f87755f80e4b55 /project
parente9df09bb0e2324ad40199e7db1f3b5687eae7362 (diff)
downloadsbt-jni-17d425c3eb07ed1110682dd1673acd0765c3ee1a.tar.gz
sbt-jni-17d425c3eb07ed1110682dd1673acd0765c3ee1a.tar.bz2
sbt-jni-17d425c3eb07ed1110682dd1673acd0765c3ee1a.zip
update version and publish to bintray
Diffstat (limited to 'project')
-rw-r--r--project/Build.scala13
-rw-r--r--project/bintray.sbt1
2 files changed, 11 insertions, 3 deletions
diff --git a/project/Build.scala b/project/Build.scala
index 9c9b917..6fe041c 100644
--- a/project/Build.scala
+++ b/project/Build.scala
@@ -1,13 +1,16 @@
import sbt._
import sbt.Keys._
+import bintray.BintrayPlugin.autoImport._
+
object JniBuild extends Build {
val scalaVersions = List("2.11.7", "2.12.0-M3", "2.10.5")
val commonSettings = Seq(
- version := "0.3-SNAPSHOT",
+ version := "0.3.0",
organization := "ch.jodersky",
+ licenses := Seq(("BSD New", url("http://opensource.org/licenses/BSD-3-Clause"))),
scalacOptions ++= Seq("-deprecation", "-feature")
)
@@ -19,7 +22,8 @@ object JniBuild extends Build {
),
settings = Seq(
publish := {},
- publishLocal := {}
+ publishLocal := {},
+ publishTo := Some(Resolver.file("Unused transient repository", target.value / "unusedrepo")) // make sbt-pgp happy
)
)
@@ -49,7 +53,10 @@ object JniBuild extends Build {
IO.write(file, src)
Seq(file)
}.taskValue,
- libraryDependencies += "org.ow2.asm" % "asm" % "5.0.4"
+ libraryDependencies += "org.ow2.asm" % "asm" % "5.0.4",
+ publishMavenStyle := false,
+ bintrayRepository := "sbt-plugins",
+ bintrayOrganization in bintray := None
)
)
diff --git a/project/bintray.sbt b/project/bintray.sbt
new file mode 100644
index 0000000..8dd913f
--- /dev/null
+++ b/project/bintray.sbt
@@ -0,0 +1 @@
+addSbtPlugin("me.lessis" % "bintray-sbt" % "0.3.0")