aboutsummaryrefslogtreecommitdiff
path: root/build.sbt
blob: aba0e46f7de003508830cb472426cf46a43fa217 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
sbtPlugin := true

organization := "xyz.driver"
name := "sbt-settings"
scalaVersion := "2.10.6"

publishMavenStyle := true

// Code style plugins
addSbtPlugin("com.lucidchart" % "sbt-scalafmt" % "1.6")
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")

// This plugin represents functionality that is to be added to sbt in the future
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")
}

credentials += Credentials("Artifactory Realm", "drivergrp.jfrog.io", "sbt-publisher", "***REMOVED***")