How to use init for packaging as an EAR?

Two questions. Where are the options for gradle init --type java-library specified? Secondly, is there an option to create a EAR instead of JAR?

$ gradle help --task init

will give you the options.

There is no initialization option for an EAR.

1 Like