profile

abstract fun profile(value: String)(source)

Adds a build profile to the Maven execution. A profile can also be explicitly excluded by prefixing it with ! or -.

This function can be called multiple times to add more than one profiles.

Parameters

value

The name of the profile to add.