diff options
Diffstat (limited to 'project/Build.scala')
-rw-r--r-- | project/Build.scala | 13 |
1 files changed, 10 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 ) ) |