title: Set debug JVM args on specific gradle task
body: <p>I've got the following gradle (version 2.3) task defined</p>
  
  <pre><code>task local {
      tasks.withType(org.springframework.boot.gradle.run.BootRunTask) {
          systemProperty('spring.profiles.active', 'local')
      }
      applicationDefaultJvmArgs = [
              "-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005"
      ]
  }
  </code></pre>
  
  <p>I'm trying to start a spring boot application with debugging enabled.</p>
  
  <p>For some reason this does not work from inside the local task:</p>
  
  <pre><code>&gt; No such property: applicationDefaultJvmArgs for class: org.gradle.api.DefaultTask_Decorated 
  </code></pre>