Package org.gradle.language.swift
Interface SwiftBinary
- All Superinterfaces:
- ComponentWithDependencies,- ComponentWithNativeRuntime,- ComponentWithObjectFiles,- Named,- SoftwareComponent
- All Known Subinterfaces:
- SwiftExecutable,- SwiftSharedLibrary,- SwiftStaticLibrary,- SwiftXCTestBinary,- SwiftXCTestBundle,- SwiftXCTestExecutable
A binary built from Swift source and linked from the resulting object files.
- Since:
- 4.2
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.gradle.api.NamedNamed.Namer
- 
Method SummaryModifier and TypeMethodDescriptionReturns the modules to use to compile this binary.Returns the compile task for this binary.Returns the link libraries to use to link this binary.Returns the name of the Swift module that this binary defines.Returns the module file for this binary.Returns the runtime libraries required by this binary.Returns the Swift source files of this binary.Returns the target platform for this component.booleanReturns true if this binary has testing enabled.Methods inherited from interface org.gradle.language.ComponentWithDependenciesgetDependenciesMethods inherited from interface org.gradle.language.nativeplatform.ComponentWithNativeRuntimegetBaseName, getTargetMachine, getToolChain, isDebuggable, isOptimizedMethods inherited from interface org.gradle.language.nativeplatform.ComponentWithObjectFilesgetObjects
- 
Method Details- 
getModuleReturns the name of the Swift module that this binary defines.
- 
isTestableboolean isTestable()Returns true if this binary has testing enabled.- Since:
- 4.4
 
- 
getSwiftSourceFileCollection getSwiftSource()Returns the Swift source files of this binary.
- 
getCompileModulesFileCollection getCompileModules()Returns the modules to use to compile this binary. Includes the module file of this binary's dependencies.- Since:
- 4.4
 
- 
getLinkLibrariesFileCollection getLinkLibraries()Returns the link libraries to use to link this binary. Includes the link libraries of the component's dependencies.
- 
getRuntimeLibrariesFileCollection getRuntimeLibraries()Returns the runtime libraries required by this binary. Includes the runtime libraries of the component's dependencies.
- 
getCompileTaskProvider<SwiftCompile> getCompileTask()Returns the compile task for this binary.- Since:
- 4.5
 
- 
getModuleFileProvider<RegularFile> getModuleFile()Returns the module file for this binary.- Since:
- 4.6
 
- 
getTargetPlatformSwiftPlatform getTargetPlatform()Returns the target platform for this component.- Since:
- 5.2
 
 
-