From 4e6b08c52304530ab11a23edbf9d702123294e9d Mon Sep 17 00:00:00 2001 From: ndarilek Date: Sat, 18 Jun 2011 16:47:15 -0700 Subject: [PATCH] Updated Quick Configuration Examples (markdown) --- Quick-Configuration-Examples.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Quick-Configuration-Examples.md b/Quick-Configuration-Examples.md index 5842e6c..262f8a8 100644 --- a/Quick-Configuration-Examples.md +++ b/Quick-Configuration-Examples.md @@ -166,4 +166,12 @@ credentials += Credentials(Path.userHome / ".ivy2" / ".credentials") // Directly specify credentials for publishing. credentials += Credentials("Sonatype Nexus Repository Manager", "nexus.scala-tools.org", "admin", "admin123") + +// Set a key based partially on a separate val. +{ + val dependencyVersion = "1.0.0" + seq( + libraryDependencies += "my.organization" % "mylib" % dependencyVersion + ) +} ``` \ No newline at end of file