@Incubating public class NativeBasePlugin extends Object implements Plugin<Project>
Expects plugins to register the native components in the Project.getComponents()
container, and defines a number of rules that act on these components to configure them.
ProductionComponent
and ComponentWithBinaries
."assemble"
task for each binary of the main component.ConfigurableComponentWithExecutable
.ConfigurableComponentWithSharedLibrary
.ConfigurableComponentWithStaticLibrary
.ConfigurableComponentWithLinkUsage
.ConfigurableComponentWithRuntimeUsage
.PublicationAwareComponent
.TargetMachineFactory
for configuring TargetMachine
.Constructor | Description |
---|---|
NativeBasePlugin(TargetMachineFactory targetMachineFactory) |
Modifier and Type | Method | Description |
---|---|---|
void |
apply(Project project) |
Apply this plugin to the given target object.
|
@Inject public NativeBasePlugin(TargetMachineFactory targetMachineFactory)