Java 9 - Can I add the MainClass attribute to module-info.class in the archive? : <p>In Java 9, you can create a JAR file with</p>

<pre><code>jar --create --file=mlib/com.greetings.jar --main-class=com.greetings.Main -C mods/com.greetings .
</code></pre>

<p>Which has the side effect of adding the MainClass attribute to the module-info.class file in the .jar file.</p>

<p>Do any of the plugins support this yet, or do I need to invoke the Java 9 'jar' command directly?</p>

<p>Is this the right forum to be asking these questions, or is there a better place?</p>

<p>Cheers, Eric</p>
