2.3. Tasks

Invoke gradle help --task <taskname> to learn more about the properties that can be set for a particular task.
All tasks share the following properties

Property

Type

Option

System

Environment

Default

Required

profile

String

oci-profile

oci.profile

OCI_PROFILE

DEFAULT

region

String

region

oci.region

OCI_REGION

showSecrets

boolean

show-secrets

false

Where each column defines

Property

The name of the task property.

Type

The type of the property.

Option

The command line flag to set this property’s value. Use -- as prefix, i.e, --oci-profile=mine.

System

The system property to set this property’s value. Use -D as prefix, i.e, -Doci.profile=mine

Environment

The environment key to set this property’s value. Set as key/value in command shell, i.e, export OCI_PROFILE=mine.

Default

Default value for this property (if any).

Required

Whether this property is required or not.

Property values are resolved in the following order

Environment > System Property > Option > Property

Task paths may be used as prefix for Environment and System properties such that, for a task named step01 on a subproject
named project1 you get the following Environment and System keys for the profile property