Skip to content

Commit edc72b7

Browse files
committed
Add default credentials definition in build.sbt.
Credentials file is configured according to this sbt documentation page: http://www.scala-sbt.org/release/docs/Detailed-Topics/Publishing.html#credentials
1 parent 3a01e11 commit edc72b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.sbt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ publishTo := {
4242
Some("releases" at nexus + "service/local/staging/deploy/maven2")
4343
}
4444

45+
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
46+
4547
publishMavenStyle := true
4648

4749
publishArtifact in Test := false

0 commit comments

Comments
 (0)