facet

open fun facet(args: Map<String, out Any>)(source)

Adds a facet.

If a facet already exists with the given name then its version will be updated.

In the case of a "jst.ejb" facet, it will also be added as a fixed facet.

For examples see docs for EclipseWtpFacet

Parameters

args

A map that must contain a 'name' and 'version' key with corresponding values.