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
  • 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 interface SwiftComponent
    • getDebugSharedLibrary

      SwiftSharedLibrary getDebugSharedLibrary()
      Returns the debug shared library for this library.
    • getReleaseSharedLibrary

      SwiftSharedLibrary getReleaseSharedLibrary()
      Returns the release shared library for this library.