Interface ComponentWithNativeRuntime
- All Superinterfaces:
Named
,SoftwareComponent
- All Known Subinterfaces:
ComponentWithExecutable
,ComponentWithInstallation
,ComponentWithLinkFile
,ComponentWithLinkUsage
,ComponentWithObjectFiles
,ComponentWithRuntimeFile
,ComponentWithRuntimeUsage
,ComponentWithSharedLibrary
,ComponentWithStaticLibrary
,CppBinary
,CppExecutable
,CppSharedLibrary
,CppStaticLibrary
,CppTestExecutable
,SwiftBinary
,SwiftExecutable
,SwiftSharedLibrary
,SwiftStaticLibrary
,SwiftXCTestBinary
,SwiftXCTestBundle
,SwiftXCTestExecutable
Represents a component that produces outputs that run on a native platform.
- Since:
- 4.5
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.api.Named
Named.Namer
-
Method Summary
Modifier and TypeMethodDescriptionReturns the base name of this component.Returns the target machine for this component.Returns the tool chain for this component.boolean
Returns true if this component has debugging enabled.boolean
Returns true if this component is optimized.
-
Method Details
-
getBaseName
Returns the base name of this component. This is used to calculate output file names. -
isDebuggable
boolean isDebuggable()Returns true if this component has debugging enabled. -
isOptimized
boolean isOptimized()Returns true if this component is optimized. -
getTargetMachine
TargetMachine getTargetMachine()Returns the target machine for this component.- Since:
- 5.2
-
getToolChain
NativeToolChain getToolChain()Returns the tool chain for this component.
-