Generating WAR and EAR artifacts inside the same Gradle project

Hello. I asked this question on Stack overflow:

http://stackoverflow.com/questions/23633933/generating-war-and-ear-artifacts-inside-the-same-gradle-project

Is it possible to skip the definition of an ‘ear’ project which wraps a ‘war’ project if the target ‘ear’ will only contain the former ‘war’ and do it from the ‘war’ project itslef? Thanks!

P. S. Yeah yeah… I know… warception… :stuck_out_tongue:

Anyone?

What stops you from applying both plugins to the same project?