title: How can I set the war version with a variable in intellij idea runConfiguration instead of hard-coding it?
body: <p>Currently when I created the run configurations we have 2 places in each of them with the explicit version (that comes from build.gradle: version = '2.0.0'):</p>
  <pre><code>&lt;deployment&gt;
    &lt;artifact name=&quot;Gradle : com.example : services-2.0.0.war (exploded)&quot;&gt;
      &lt;settings&gt;
        &lt;option name=&quot;CONTEXT_PATH&quot; value=&quot;/services&quot; /&gt;
      &lt;/settings&gt;
    &lt;/artifact&gt;
  &lt;/deployment&gt;
  
  
  &lt;method v=&quot;2&quot;&gt;
    &lt;option name=&quot;BuildArtifacts&quot; enabled=&quot;true&quot;&gt;
      &lt;artifact name=&quot;Gradle : com.example : services-2.0.0.war (exploded)&quot; /&gt;
    &lt;/option&gt;
  &lt;/method&gt;
  </code></pre>
  <p>Is there a way to change this to dynamic? I tried to change &quot;2.0.0&quot; to &quot;$VERSION&quot; but it doesn't work.</p>