api / org.gradle.language.swift / SwiftLibrary

SwiftLibrary

@Incubating interface SwiftLibrary : ProductionSwiftComponent

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

Functions

getApiDependencies

abstract fun getApiDependencies(): Configuration

Returns the API dependencies of this library.

getDependencies

abstract fun getDependencies(): LibraryDependencies

Returns the dependencies of this library.

getLinkage

abstract fun getLinkage(): SetProperty<Linkage>

Returns the list of linkage of this library.

Inherited Functions

getDevelopmentBinary

abstract fun getDevelopmentBinary(): Provider<out SwiftBinary>

{@inheritDoc}