From 17d425c3eb07ed1110682dd1673acd0765c3ee1a Mon Sep 17 00:00:00 2001 From: Jakob Odersky Date: Sun, 17 Jan 2016 19:14:08 -0800 Subject: update version and publish to bintray --- project/Build.scala | 13 ++++++++++--- project/bintray.sbt | 1 + 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 project/bintray.sbt (limited to 'project') 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") -- cgit v1.2.3