ComponentWithRuntimeUsage (Gradle API 5.1.1)
Date: 2019-01-11

Package org.gradle.language.nativeplatform

## Interface ComponentWithRuntimeUsage

- All Superinterfaces:
    `ComponentWithNativeRuntime`, `Named`, `SoftwareComponent`
  All Known Subinterfaces:
    `CppExecutable`, `CppSharedLibrary`, `CppStaticLibrary`, `SwiftSharedLibrary`, `SwiftStaticLibrary`

      @Incubating
      public interface ComponentWithRuntimeUsage
      extends ComponentWithNativeRuntime

  Represents a native component whose runtime file and dependencies are published for consumption by some other project.
  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 | Description
    --- | --- | ---
    `Provider<Configuration>` | `getRuntimeElements()` | Returns the outgoing runtime elements 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

    - #### getRuntimeElements

          Provider<Configuration> getRuntimeElements()

      Returns the outgoing runtime elements of this component.