ComponentWithDependencies, ComponentWithNativeRuntime, ComponentWithObjectFiles, Named, SoftwareComponentSwiftExecutable, SwiftSharedLibrary, SwiftStaticLibrary, SwiftXCTestBinary, SwiftXCTestBundle, SwiftXCTestExecutablepublic interface SwiftBinary extends ComponentWithObjectFiles, ComponentWithDependencies
Named.Namer| Modifier and Type | Method | Description |
|---|---|---|
FileCollection |
getCompileModules() |
Returns the modules to use to compile this binary.
|
Provider<SwiftCompile> |
getCompileTask() |
Returns the compile task for this binary.
|
FileCollection |
getLinkLibraries() |
Returns the link libraries to use to link this binary.
|
Provider<String> |
getModule() |
Returns the name of the Swift module that this binary defines.
|
Provider<RegularFile> |
getModuleFile() |
Returns the module file for this binary.
|
FileCollection |
getRuntimeLibraries() |
Returns the runtime libraries required by this binary.
|
FileCollection |
getSwiftSource() |
Returns the Swift source files of this binary.
|
SwiftPlatform |
getTargetPlatform() |
Returns the target platform for this component.
|
boolean |
isTestable() |
Returns true if this binary has testing enabled.
|
getDependenciesgetBaseName, getTargetMachine, getToolChain, isDebuggable, isOptimizedgetObjectsProvider<String> getModule()
boolean isTestable()
FileCollection getSwiftSource()
FileCollection getCompileModules()
FileCollection getLinkLibraries()
FileCollection getRuntimeLibraries()
Provider<SwiftCompile> getCompileTask()
Provider<RegularFile> getModuleFile()
SwiftPlatform getTargetPlatform()