aboutsummaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authorvlad <vlad@drivergrp.com>2016-08-09 10:56:36 -0700
committervlad <vlad@drivergrp.com>2016-08-09 10:56:36 -0700
commit2853f18feed65f2c74eb2ccfba7baf0e7c163b98 (patch)
tree6fba34b765ae160560ae112b375065e991e7a5b2 /build.sbt
parent1ecdc4a13d1a42de9074206f49621c31eb0bd120 (diff)
downloadsbt-settings-2853f18feed65f2c74eb2ccfba7baf0e7c163b98.tar.gz
sbt-settings-2853f18feed65f2c74eb2ccfba7baf0e7c163b98.tar.bz2
sbt-settings-2853f18feed65f2c74eb2ccfba7baf0e7c163b98.zip
Usage of the Artifactory for publication and artifacts lookup
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt10
1 files changed, 9 insertions, 1 deletions
diff --git a/build.sbt b/build.sbt
index 2b990b3..b0690fb 100644
--- a/build.sbt
+++ b/build.sbt
@@ -22,4 +22,12 @@ 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") \ No newline at end of file
+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***")