title: Setting javaagent for particular task in Gradle
body: <p>This is my run configuration.</p>
  
  <pre><code>task run &lt;&lt; {
      jvmArgs "-javaagent:/home/audrius/org.springframework.instrument-3.0.5.RELEASE.jar"
      jettyRun.execute()
  }
  </code></pre>
  
  <p>but it gives me:</p>
  
  <pre><code>Could not find method jvmArgs()
  </code></pre>
  
  <p>How do you set javaagent for jettyRun?</p>