# Interface PrebuiltLibrary

All Superinterfaces:
  `Component, Library, Named, NativeLibrary`

@Incubating @Deprecated public interface PrebuiltLibrary extends Named, NativeLibrary
Deprecated.
The Gradle software model is deprecated and will be removed in Gradle 10. Use the new component model (e.g. `cpp-application`, `cpp-library`, `swift-application`, `swift-library`, `xctest`) instead.
A library component that is not built by gradle.

Since:
  2.2

- ## Nested Class Summary

  ### Nested classes/interfaces inherited from interface Named

  `Named.Namer`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DomainObjectSet<NativeLibraryBinary>`
  `getBinaries()`
  Deprecated.
  The binaries that are built for this component.
  `SourceDirectorySet`
  `getHeaders()`
  Deprecated.
  The headers exported by this library.

  ### Methods inherited from interface Named

  `getName`

- ## Method Details

  - ### getBinaries

    DomainObjectSet<NativeLibraryBinary> getBinaries()
    Deprecated.
    The binaries that are built for this component. You can use this to configure the binaries for this component.
    Since:
      2.2

  - ### getHeaders

    SourceDirectorySet getHeaders()
    Deprecated.
    The headers exported by this library. These headers will be added to all binaries for this library.
    Since:
      2.2