ComponentWithSharedLibrary (Gradle API 4.8)
Date: 2018-06-04

org.gradle.language.nativeplatform

## Interface ComponentWithSharedLibrary

- All Superinterfaces:
    ComponentWithLinkFile, ComponentWithNativeRuntime, ComponentWithRuntimeFile, Named, SoftwareComponent
  All Known Subinterfaces:
    CppSharedLibrary, SwiftSharedLibrary

      @Incubating
      public interface ComponentWithSharedLibrary
      extends ComponentWithLinkFile, ComponentWithRuntimeFile

  Represents a native component that produces a shared library.
  Since:
    4.5

- - ### 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 and Description
    --- | ---
    `FileCollection` | `getLinkLibraries()` Returns the link libraries to use to link the shared library.
    `Provider<? extends LinkSharedLibrary>` | `getLinkTask()` Returns the link task for the shared library.

    - ### Methods inherited from interface org.gradle.language.nativeplatform.ComponentWithLinkFile

      `getLinkFile`

    - ### Methods inherited from interface org.gradle.language.nativeplatform.ComponentWithRuntimeFile

      `getRuntimeFile`

    - ### Methods inherited from interface org.gradle.language.nativeplatform.ComponentWithNativeRuntime

      `getBaseName, getTargetPlatform, getToolChain, isDebuggable, isOptimized`

    - ### Methods inherited from interface org.gradle.api.Named

      `getName`

- - ### Method Detail

    - #### getLinkLibraries

          FileCollection getLinkLibraries()

      Returns the link libraries to use to link the shared library. Includes the link libraries of the component's dependencies.

    - #### getLinkTask

          Provider<? extends LinkSharedLibrary> getLinkTask()

      Returns the link task for the shared library.