From 1878b065d6071b42b9278eb8bd8928fa6229295b Mon Sep 17 00:00:00 2001 From: Rodrigo Fernandes Date: Sun, 29 Jul 2018 23:41:21 +0100 Subject: [PATCH] Add sonatype credentials in build.sbt --- build.sbt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.sbt b/build.sbt index d689af3..ce69f37 100644 --- a/build.sbt +++ b/build.sbt @@ -55,6 +55,13 @@ pomIncludeRepository := { _ => false } publishTo := sonatypePublishTo.value +//Credentials for sonatype +credentials += Credentials( + "Sonatype Nexus Repository Manager", + "oss.sonatype.org", + sys.env.getOrElse("SONATYPE_USER", "username"), + sys.env.getOrElse("SONATYPE_PASSWORD", "password")) + startYear := Some(2014) description := "Bitbucket Scala Client"