org.gradle.language.nativeplatform

## Interface ComponentWithLinkFile

- All Superinterfaces:
    ComponentWithNativeRuntime, Named, SoftwareComponent
  All Known Subinterfaces:
    ComponentWithSharedLibrary, ComponentWithStaticLibrary, CppSharedLibrary, CppStaticLibrary, SwiftSharedLibrary, SwiftStaticLibrary

      @Incubating
      public interface ComponentWithLinkFile
      extends ComponentWithNativeRuntime

  Represents a native component that produces a file to be used at link time.
  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<RegularFile>` | `getLinkFile()` Returns the link file of this component.

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

    - #### getLinkFile

          Provider<RegularFile> getLinkFile()

      Returns the link file of this component.