# Deprecated API

## Contents

- Deprecated Interface
- Deprecated Class
- Deprecated Annotation Type
- Deprecated Method

- Deprecated Interfaces
  Interface and Description
  CollectionBuilder Allows the adding of items to a named collection where instantiation is managed.
  ConventionValue A ConventionValue can be assigned to a org.gradle.api.internal.IConventionAware task.
  ManagedSet A set of managed model objects.
  SonarModel Base interface for Sonar models on analysis roots and their subprojects.

- Deprecated Classes
  Class and Description
  ModelToPropertiesConverter Converts a model object to a map of Sonar properties, guided by the information provided with `SonarProperty` and `IncludeProperties` annotations.
  SonarAnalyze Analyzes a project hierarchy and writes the results to the Sonar database.
  SonarDatabase Configuration options for the Sonar database.
  SonarJavaSettings Java-related configuration options for the project to be analyzed.
  SonarPlugin A plugin for integrating with Sonar, a web-based platform for managing code quality.
  SonarProject Per-project configuration options.
  SonarProjectModel Configuration options for subprojects of a project that has the `sonar` plugin applied.
  SonarProperties The Sonar properties for the current Gradle project that are to be passed to the Sonar Runner.
  SonarRootModel Configuration options for a project that has the `sonar` plugin applied.
  SonarRunner Analyses one or more projects with the SonarQube Runner.
  SonarRunnerExtension An extension for configuring the Sonar Runner integration.
  SonarRunnerPlugin A plugin for analyzing projects with the SonarQube Runner.
  SonarRunnerRootExtension Specialization of SonarRunnerExtension that is used for the root of the project tree being analyzed.
  SonarServer Configuration options for the Sonar web server.

- Deprecated Annotation Types
  Annotation Type and Description
  IncludeProperties Indicates that the annotated property holds an object with nested Sonar properties.
  SonarProperty Maps a model property to the corresponding Sonar property.

- Deprecated Methods
  Method and Description
  BinarySpec#getSource() The source sets used to compile this binary.
  ComponentSpec#getSource() The source sets that are used to build this component.
  StartParameter#getParallelThreadCount() Returns the number of parallel threads to use for build execution.
  Task#getProject() Returns the element which this task belongs to.