Package org.gradle.language.swift
Schnittstelle SwiftBinary
- Alle Superschnittstellen:
ComponentWithDependencies,ComponentWithNativeRuntime,ComponentWithObjectFiles,Named,SoftwareComponent
- Alle bekannten Unterschnittstellen:
SwiftExecutable,SwiftSharedLibrary,SwiftStaticLibrary,SwiftXCTestBinary,SwiftXCTestBundle,SwiftXCTestExecutable
A binary built from Swift source and linked from the resulting object files.
- Seit:
- 4.2
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.gradle.api.Named
Named.Namer -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns 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.Von Schnittstelle geerbte Methoden org.gradle.language.ComponentWithDependencies
getDependenciesVon Schnittstelle geerbte Methoden org.gradle.language.nativeplatform.ComponentWithNativeRuntime
getBaseName, getTargetMachine, getToolChain, isDebuggable, isOptimizedVon Schnittstelle geerbte Methoden org.gradle.language.nativeplatform.ComponentWithObjectFiles
getObjects
-
Methodendetails
-
getModule
Returns the name of the Swift module that this binary defines. -
isTestable
boolean isTestable()Returns true if this binary has testing enabled.- Seit:
- 4.4
-
getSwiftSource
FileCollection getSwiftSource()Returns the Swift source files of this binary. -
getCompileModules
FileCollection getCompileModules()Returns the modules to use to compile this binary. Includes the module file of this binary's dependencies.- Seit:
- 4.4
-
getLinkLibraries
FileCollection getLinkLibraries()Returns the link libraries to use to link this binary. Includes the link libraries of the component's dependencies. -
getRuntimeLibraries
FileCollection getRuntimeLibraries()Returns the runtime libraries required by this binary. Includes the runtime libraries of the component's dependencies. -
getCompileTask
Provider<SwiftCompile> getCompileTask()Returns the compile task for this binary.- Seit:
- 4.5
-
getModuleFile
Provider<RegularFile> getModuleFile()Returns the module file for this binary.- Seit:
- 4.6
-
getTargetPlatform
SwiftPlatform getTargetPlatform()Returns the target platform for this component.- Seit:
- 5.2
-