ComponentWithTargetMachines

API Documentation:ComponentWithTargetMachines
Known Subtypes:
CppComponent

Note: This class is incubating and may change in a future version of Gradle.

Represents a component that targets multiple target machines.

Properties

PropertyDescription
targetMachines
Incubating

Specifies the target machines this component should be built for. The "machines" extension property (see TargetMachineFactory) can be used to construct common operating system and architecture combinations.

Methods

No methods

Script blocks

No script blocks

Property details

SetProperty<TargetMachine> targetMachines

Note: This property is incubating and may change in a future version of Gradle.

Specifies the target machines this component should be built for. The "machines" extension property (see TargetMachineFactory) can be used to construct common operating system and architecture combinations.

For example:

targetMachines = [machines.linux.x86_64, machines.windows.x86_64]