Maven-publish EAR support and custom artifact support

The documentation for maven-publish specifies that only Jar and War tasks are supported, is this still true in Gradle 2.1? In particular are Ear’s supported?

In addition is there any restriction on the type of custom artifact? Ie a Ear file created without using the Ear task (Oracle software requires pre-build processing)