Skip to content

Commit

Permalink
Read sonatype credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
rickynils committed Jul 16, 2015
1 parent 7d7fe8a commit f89753a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.sbt
Expand Up @@ -12,6 +12,15 @@ lazy val sharedSettings = MimaSettings.settings ++ Seq(

homepage := Some(url("http://www.scalacheck.org")),

credentials ++= (for {
username <- Option(System.getenv().get("SONATYPE_USERNAME"))
password <- Option(System.getenv().get("SONATYPE_PASSWORD"))
} yield Credentials(
"Sonatype Nexus Repository Manager",
"oss.sonatype.org",
username, password
)).toSeq,

scalaVersion := "2.12.0-M2",

crossScalaVersions := Seq("2.10.5", "2.11.6"),
Expand Down

0 comments on commit f89753a

Please sign in to comment.