aboutsummaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authorilovehao <huanghao19866@gmail.com>2017-05-03 18:36:32 -0700
committerGitHub <noreply@github.com>2017-05-03 18:36:32 -0700
commit2654186aa019330341787729b526cf62a2b1efe6 (patch)
tree941327143f775b63cca1edca186e575c6843b1e1 /build.sbt
parent80a97481473ddbe147cd538862942987b87dbe59 (diff)
parent94df34aa72709fc6ba90665b5fa07d2fc02364f8 (diff)
downloadsbt-settings-2654186aa019330341787729b526cf62a2b1efe6.tar.gz
sbt-settings-2654186aa019330341787729b526cf62a2b1efe6.tar.bz2
sbt-settings-2654186aa019330341787729b526cf62a2b1efe6.zip
Merge pull request #15 from drivergroup/hao/sbt-release
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***")