ComponentWithStaticLibrary (Gradle API 4.5)
Date: 2018-01-24

org.gradle.language.nativeplatform

## Interface ComponentWithStaticLibrary

- All Superinterfaces:
    ComponentWithLinkFile, ComponentWithNativeRuntime, Named, SoftwareComponent
  All Known Subinterfaces:
    CppStaticLibrary, SwiftStaticLibrary

      @Incubating
      public interface ComponentWithStaticLibrary
      extends ComponentWithLinkFile

  Represents a component that produces a static 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
    --- | ---
    `Provider<? extends CreateStaticLibrary>` | `getCreateTask()` Returns the task to create the static library.

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

      `getLinkFile`

    - ### 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

    - #### getCreateTask

          Provider<? extends CreateStaticLibrary> getCreateTask()

      Returns the task to create the static library.