Schnittstelle ComponentWithExecutable
- Alle Superschnittstellen:
ComponentWithNativeRuntime,Named,SoftwareComponent
- Alle bekannten Unterschnittstellen:
CppExecutable,CppTestExecutable,SwiftExecutable,SwiftXCTestExecutable
Represents a native component that produces an executable.
- Seit:
- 4.5
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.gradle.api.Named
Named.Namer -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns 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.Von Schnittstelle geerbte Methoden org.gradle.language.nativeplatform.ComponentWithNativeRuntime
getBaseName, getTargetMachine, getToolChain, isDebuggable, isOptimized
-
Methodendetails
-
getLinkLibraries
FileCollection getLinkLibraries()Returns the link libraries to use to link the executable. Includes the link libraries of the component's dependencies. -
getExecutableFileProducer
Returns the task that should be run to produce the executable file of this component. This isn't necessarily the link task for the component.- Seit:
- 5.1
-
getExecutableFile
Provider<RegularFile> getExecutableFile()Returns the executable file to produce. -
getLinkTask
Provider<? extends LinkExecutable> getLinkTask()Returns the link task for the executable.
-