title: How do I consume -D variables in build.scala using SBT?
body: <p>I have a build.scala file that has a dependency that looks like this:</p>
  
  <pre><code>"com.example" % "core" % "2.0" classifier "full-unstable"
  </code></pre>
  
  <p>This pulls in a JAR with the classifier of full-unstable</p>
  
  <p>What I need to do is specify either "unstable" or "stable" to SBT (using a -D I presume) from Jenkins (the build server) to change the classifier. If variable substitution worked like it does in Maven, the dependency would look like:</p>
  
  <pre><code>"com.example" % "core" % "2.0" classifier "full-${branch}"
  </code></pre>
  
  <p>And I would do "-Dbranch=unstable" or "-Dbranch=stable"</p>
  
  <p>I'm very unclear how I do this with SBT and a build.scala file.</p>