@Incubating interface SwiftBinary : ComponentWithObjectFiles, ComponentWithDependencies
A binary built from Swift source and linked from the resulting object files.
Since
4.2
abstract fun getCompileModules(): FileCollection
Returns the modules to use to compile this binary. Includes the module file of this binary's dependencies. |
|
abstract fun getCompileTask(): Provider<SwiftCompile>
Returns the compile task for this binary. |
|
abstract fun getLinkLibraries(): FileCollection
Returns the link libraries to use to link this binary. Includes the link libraries of the component's dependencies. |
|
abstract fun getModule(): Provider<String>
Returns the name of the Swift module that this binary defines. |
|
abstract fun getModuleFile(): Provider<RegularFile>
Returns the module file for this binary. |
|
abstract fun getRuntimeLibraries(): FileCollection
Returns the runtime libraries required by this binary. Includes the runtime libraries of the component's dependencies. |
|
abstract fun getSourceCompatibility(): Provider<SwiftVersion>
Returns the Swift language level to use to compile the source files. |
|
abstract fun getSwiftSource(): FileCollection
Returns the Swift source files of this binary. |
|
abstract fun getTargetPlatform(): SwiftPlatform
{@inheritDoc} |
|
abstract fun isTestable(): Boolean
Returns true if this binary has testing enabled. |
abstract fun getDependencies(): ComponentDependencies
Returns the dependencies of this component. |
|
abstract fun getObjects(): FileCollection
Returns the object files created for this component. |
interface SwiftExecutable : SwiftBinary, ComponentWithExecutable, ComponentWithInstallation, ComponentWithOutputs
An executable built from Swift source. |
|
interface SwiftSharedLibrary : SwiftBinary, ComponentWithSharedLibrary, ComponentWithRuntimeUsage, ComponentWithLinkUsage, ComponentWithOutputs
A shared library built from Swift source. |
|
interface SwiftStaticLibrary : SwiftBinary, ComponentWithStaticLibrary, ComponentWithRuntimeUsage, ComponentWithLinkUsage, ComponentWithOutputs
A static library built from Swift source. |
|
interface SwiftXCTestBinary : SwiftBinary, TestComponent
An test binary built from Swift source. |