aboutsummaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authorHao Huang <hhuang@driver.xyz>2017-05-02 12:53:56 -0700
committerHao Huang <hhuang@driver.xyz>2017-05-03 16:46:20 -0700
commit10a6a14fd5c45778ce5e5bfe817a2fa820934e36 (patch)
tree2301e12bfa51098686827db134b26e52f18b7d5c /build.sbt
parent80a97481473ddbe147cd538862942987b87dbe59 (diff)
downloadsbt-settings-10a6a14fd5c45778ce5e5bfe817a2fa820934e36.tar.gz
sbt-settings-10a6a14fd5c45778ce5e5bfe817a2fa820934e36.tar.bz2
sbt-settings-10a6a14fd5c45778ce5e5bfe817a2fa820934e36.zip
Refactor the sbt release behavior for services
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt23
1 files changed, 11 insertions, 12 deletions
diff --git a/build.sbt b/build.sbt
index cf1fabf..2d780fb 100644
--- a/build.sbt
+++ b/build.sbt
@@ -1,4 +1,3 @@
-
sbtPlugin := true
organization := "xyz.driver"
@@ -8,18 +7,18 @@ scalaVersion := "2.10.6"
publishMavenStyle := true
// Code style plugins
-addSbtPlugin("com.geirsson" % "sbt-scalafmt" % "0.6.8")
-addSbtPlugin("org.wartremover" % "sbt-wartremover" % "2.0.3")
-addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "0.8.0")
+addSbtPlugin("com.geirsson" % "sbt-scalafmt" % "0.6.8")
+addSbtPlugin("org.wartremover" % "sbt-wartremover" % "2.0.3")
+addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "0.8.0")
// Launch and deploy/release plugins
-addSbtPlugin("io.spray" % "sbt-revolver" % "0.8.0")
-addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.6.1")
-addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "0.8.5")
-addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.1.5")
-addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.4")
-addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.3")
-addSbtPlugin("se.marcuslonnberg" % "sbt-docker" % "1.4.0")
+addSbtPlugin("io.spray" % "sbt-revolver" % "0.8.0")
+addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.6.1")
+addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "0.8.5")
+addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.1.5")
+addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.4")
+addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.3")
+addSbtPlugin("se.marcuslonnberg" % "sbt-docker" % "1.4.0")
// This plugin represents functionality that is to be added to sbt in the future
addSbtPlugin("org.scala-sbt" % "sbt-core-next" % "0.1.1")
@@ -27,7 +26,7 @@ addSbtPlugin("org.scala-sbt" % "sbt-core-next" % "0.1.1")
publishTo := {
val jfrog = "https://drivergrp.jfrog.io/drivergrp/"
if (isSnapshot.value) Some("snapshots" at jfrog + "snapshots")
- else Some("releases" at jfrog + "releases")
+ else Some("releases" at jfrog + "releases")
}
credentials += Credentials("Artifactory Realm", "drivergrp.jfrog.io", "sbt-publisher", "***REMOVED***")