DependencySpecBuilder (Gradle API 9.7.0)
Description: declaration: package: org.gradle.platform.base, interface: DependencySpecBuilder

# Interface DependencySpecBuilder

All Known Subinterfaces:
  `ModuleDependencySpecBuilder, ProjectDependencySpecBuilder`

@Incubating @Deprecated public interface DependencySpecBuilder
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 builder of a `DependencySpec`. Implementations are required to return immutable dependency specs.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DependencySpec`
  `build()`
  Deprecated.
  Builds a concrete immutable `DependencySpec` instance.

- ## Method Details

  - ### build

    DependencySpec build()
    Deprecated.
    Builds a concrete immutable `DependencySpec` instance.
    Returns:
      an immutable dependency specification