title: Convert camelCase string to dash-separated in Gradle (i.e. Groovy)
body: <p>I have a bunch of string properties in a gradle build script, which is in <code>camelCase</code> (for example <code>"jmxConsoleWeb"</code>), and I'd like to split each into a <code>dash-separated</code> (e.g. <code>jmx-console-web</code>) string instead.</p>
  
  <p>Is there a "non-hackish" way to do this?</p>