title: How can I get the path to the current target directory in my build.sbt
body: <p>In my <code>build.sbt</code> I want to know the current target file. Something like this:</p>
  
  <pre class="lang-scala prettyprint-override"><code>val targetFile = ??? // /home/fbaierl/Repos/kcc/scala/com.github.fbaierl/target/scala-2.12/myapplication_2.12-1.2.3-SNAPSHOT.jar
  </code></pre>
  
  <p>With <code>target.value</code> I only get the directory up until /target. Is there any way to get the full path to the resulting jar?</p>