Interface ComponentWithExecutable
- All Superinterfaces:
- ComponentWithNativeRuntime,- Named,- SoftwareComponent
- All Known Subinterfaces:
- CppExecutable,- CppTestExecutable,- SwiftExecutable,- SwiftXCTestExecutable
Represents a native component that produces an executable.
- Since:
- 4.5
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.gradle.api.NamedNamed.Namer
- 
Method SummaryModifier and TypeMethodDescriptionReturns the executable file to produce.Returns the task that should be run to produce the executable file of this component.Returns the link libraries to use to link the executable.Provider<? extends LinkExecutable> Returns the link task for the executable.Methods inherited from interface org.gradle.language.nativeplatform.ComponentWithNativeRuntimegetBaseName, getTargetMachine, getToolChain, isDebuggable, isOptimized
- 
Method Details- 
getLinkLibrariesFileCollection getLinkLibraries()Returns the link libraries to use to link the executable. Includes the link libraries of the component's dependencies.
- 
getExecutableFileProducerReturns the task that should be run to produce the executable file of this component. This isn't necessarily the link task for the component.- Since:
- 5.1
 
- 
getExecutableFileProvider<RegularFile> getExecutableFile()Returns the executable file to produce.
- 
getLinkTaskProvider<? extends LinkExecutable> getLinkTask()Returns the link task for the executable.
 
-