@@ -22,19 +22,23 @@ import xerial.sbt.Sonatype._
2222import de .johoop .findbugs4sbt .FindBugs ._
2323import de .johoop .jacoco4sbt ._
2424import JacocoPlugin ._
25+ import sbtrelease .ReleasePlugin ._
2526
2627object Build extends Build {
2728
2829 val SCALA_VERSION = " 2.10.3"
2930
30- lazy val buildSettings = Defaults .defaultSettings ++ findbugsSettings ++ jacoco.settings ++
31+ lazy val buildSettings = Defaults .defaultSettings ++
32+ releaseSettings ++
33+ findbugsSettings ++
34+ jacoco.settings ++
35+ sonatypeSettings ++
3136 Seq [Setting [_]](
3237 organization := " org.msgpack" ,
3338 organizationName := " MessagePack" ,
3439 organizationHomepage := Some (new URL (" http://msgpack.org/" )),
3540 description := " MessagePack for Java" ,
3641 scalaVersion in Global := SCALA_VERSION ,
37- sbtVersion in Global := " 0.13.2-M1" ,
3842 logBuffered in Test := false ,
3943 // parallelExecution in Test := false,
4044 autoScalaLibrary := false ,
@@ -80,6 +84,9 @@ object Build extends Build {
8084 findbugs := {
8185 // do not run findbugs for the root project
8286 }
87+ // Do not publish root project
88+ // publish := {},
89+ // publishLocal := {}
8390 )
8491 ) aggregate(msgpackCore, msgpackValue)
8592
0 commit comments