From 2853f18feed65f2c74eb2ccfba7baf0e7c163b98 Mon Sep 17 00:00:00 2001 From: vlad Date: Tue, 9 Aug 2016 10:56:36 -0700 Subject: Usage of the Artifactory for publication and artifacts lookup --- build.sbt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'build.sbt') 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***") -- cgit v1.2.3