Package org.gradle.language.swift
Interface SwiftLibrary
- All Superinterfaces:
Named
,SoftwareComponent
,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
Modifier and TypeMethodDescriptionReturns the API dependencies of this library.Returns the debug shared library for this library.Returns the binary of the component to use as the default for development.Returns the release shared library for this library.Methods inherited from interface org.gradle.language.swift.SwiftComponent
getImplementationDependencies, getModule, getSource, getSwiftSource, source
-
Method Details
-
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:
getDevelopmentBinary
in interfaceSwiftComponent
-