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