# Deprecated API

## Contents

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

- Deprecated Interfaces
  Interface and Description
  ConventionValue A ConventionValue can be assigned to a org.gradle.api.internal.IConventionAware task.
  DeleteAction Deletes files and directories.
  SonarModel Base interface for Sonar models on analysis roots and their subprojects.
  TestSuiteBinarySpec A binary which runs a suite of tests.
  TestSuiteContainer A container of TestSuiteSpec instances.
  TestSuiteSpec A component representing a suite of tests that will be executed together.

- 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
  BinaryType No longer supported.
  IncludeProperties Indicates that the annotated property holds an object with nested Sonar properties.
  LanguageType No longer supported.
  SonarProperty Maps a model property to the corresponding Sonar property.

- Deprecated Methods
  Method and Description
  Specs#and(Spec specs) Returns a spec that selects the intersection of those items selected by the given specs.
  Specs#and(Collection> specs) Returns a spec that selects the intersection of those items selected by the given specs.
  Specs#not(Spec spec) Returns a spec that selects everything that is not selected by the given spec.
  Specs#or(Spec specs) Returns a spec that selects the union of those items selected by the provided spec.
  Specs#or(Collection> specs) Returns a spec that selects the union of those items selected by the provided spec.
  Specs#or(boolean defaultWhenNoSpecs, List> specs) Returns a spec that selects the union of those items selected by the provided spec.
  StartParameter#getParallelThreadCount() Returns the number of parallel threads to use for build execution.
  Task#getProject() Returns the element which this task belongs to.