@Incubating public interface SwiftBinary extends ComponentWithObjectFiles, ComponentWithDependencies
Named.Namer
Modifier and Type | Method and 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.
|
Provider<SwiftVersion> |
getSourceCompatibility()
Returns the Swift language level to use to compile the source files.
|
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.
|
getObjects
getBaseName, getToolChain, isDebuggable, isOptimized
getDependencies
Provider<String> getModule()
boolean isTestable()
FileCollection getSwiftSource()
FileCollection getCompileModules()
FileCollection getLinkLibraries()
FileCollection getRuntimeLibraries()
Provider<SwiftCompile> getCompileTask()
Provider<RegularFile> getModuleFile()
SwiftPlatform getTargetPlatform()
getTargetPlatform
in interface ComponentWithNativeRuntime
Provider<SwiftVersion> getSourceCompatibility()