Skip to content

Commit 09b0ac9

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 48f9601 commit 09b0ac9

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
@@ -40,6 +40,8 @@ publishTo := {
4040
Some("releases" at nexus + "service/local/staging/deploy/maven2")
4141
}
4242

43+
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
44+
4345
publishMavenStyle := true
4446

4547
publishArtifact in Test := false

0 commit comments

Comments
 (0)