Package org.gradle.language.swift
Interface SwiftLibrary
-
- All Superinterfaces:
Named,SoftwareComponent,SwiftComponent
@Incubating public interface SwiftLibrary extends SwiftComponent
Configuration for a Swift library, defining the source files that make up the library plus other settings.An instance of this type is added as a project extension by the Swift library plugin.
- Since:
- 4.2
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.gradle.api.Named
Named.Namer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfigurationgetApiDependencies()Returns the API dependencies of this library.SwiftSharedLibrarygetDebugSharedLibrary()Returns the debug shared library for this library.SwiftSharedLibrarygetDevelopmentBinary()Returns the binary of the component to use as the default for development.SwiftSharedLibrarygetReleaseSharedLibrary()Returns the release shared library for this library.-
Methods inherited from interface org.gradle.language.swift.SwiftComponent
getImplementationDependencies, getModule, getSource, getSwiftSource, source
-
-
-
-
Method Detail
-
getApiDependencies
Configuration getApiDependencies()
Returns the API dependencies of this library.
-
getDevelopmentBinary
SwiftSharedLibrary getDevelopmentBinary()
Returns the binary of the component to use as the default for development.- Specified by:
getDevelopmentBinaryin interfaceSwiftComponent
-
getDebugSharedLibrary
SwiftSharedLibrary getDebugSharedLibrary()
Returns the debug shared library for this library.
-
getReleaseSharedLibrary
SwiftSharedLibrary getReleaseSharedLibrary()
Returns the release shared library for this library.
-
-