title: Setting httpPort for Jetty Grails plugin
body: <p>I want to change the httpPort from the default of 8080 for the Jetty Grails plugin. I cannot set the Jetty httpPort property via a system property and/or Gradle property. </p>
  
  <pre><code>System property: gradle jettyRun -DjettyHttpPort=9090
  Gradle property (gradle.properties): jettyHttpPort=9090
  </code></pre>
  
  <p>Right now you have to make a change to your Gradle build script (like adding a configuration task) to make this work. There are JettyPluginConventions with a function to setHttpPort(int) but I do not know how to implement it.</p>
  
  <p><a href="http://www.gradle.org/releases/1.0-milestone-3/docs/javadoc/org/gradle/api/plugins/jetty/JettyPluginConvention.html#setHttpPort(java.lang.Integer)" rel="noreferrer">http://www.gradle.org/releases/1.0-milestone-3/docs/javadoc/org/gradle/api/plugins/jetty/JettyPluginConvention.html#setHttpPort(java.lang.Integer)</a></p>
  
  <p><a href="http://www.gradle.org/jetty_plugin.html" rel="noreferrer">http://www.gradle.org/jetty_plugin.html</a></p>