title: How do you set the maven artifact ID of a Gradle project?
body: <p>From the gradle <a href="http://www.gradle.org/docs/current/userguide/publishing_maven.html">maven-publish plugin's documentation</a>, it's clear that you set the <code>groupId</code> and <code>version</code> of the project directly in <code>build.gradle</code>:</p>
  
  <pre><code>group = 'org.gradle.sample'
  version = '1.0'
  </code></pre>
  
  <p>However, the <code>artifactId</code> appears to be taken from the name of the folder you are working within.  Is there a way to set the <code>artifactId</code> explicitly?</p>