@Incubating interface ComponentWithInstallation : ComponentWithNativeRuntime
Represents a native component that produces an application installation.
Since
4.5
abstract fun getInstallDirectory(): Provider<Directory>
Returns the installation directory. |
|
abstract fun getInstallTask(): Provider<out InstallExecutable>
Returns the install task. |
|
abstract fun getRuntimeLibraries(): FileCollection
Returns the runtime libraries required for the installation. Includes the runtime libraries of the component's dependencies. |
abstract fun getBaseName(): Provider<String>
Returns the base name of this component. This is used to calculate output file names. |
|
abstract fun getTargetPlatform(): NativePlatform
Returns the target platform for this component. |
|
abstract fun getToolChain(): NativeToolChain
Returns the tool chain for this component. |
|
abstract fun isDebuggable(): Boolean
Returns true if this component has debugging enabled. |
|
abstract fun isOptimized(): Boolean
Returns true if this component is optimized. |
interface CppExecutable : CppBinary, ComponentWithExecutable, ComponentWithInstallation, ComponentWithOutputs, ComponentWithRuntimeUsage, PublishableComponent
An executable built from C++ source. |
|
interface CppTestExecutable : CppBinary, ComponentWithExecutable, ComponentWithInstallation, TestComponent
A test executable with tests implemented in C++. |
|
interface SwiftExecutable : SwiftBinary, ComponentWithExecutable, ComponentWithInstallation, ComponentWithOutputs
An executable built from Swift source. |
|
interface SwiftXCTestExecutable : SwiftXCTestBinary, ComponentWithExecutable, ComponentWithInstallation
An XCTest executable for tests implemented in Swift. |