# 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
  Groovydoc#getOverview() Returns a HTML file to be used for overview documentation.
  Groovydoc#setOverview(String overview) Sets a HTML file to be used for overview documentation (optional).
  JacocoPluginExtension#getLogger() Logger
  JacocoPluginExtension#setLogger(Logger logger) Logger
  JacocoTaskExtension#getAgent() agent
  JacocoTaskExtension#setAgent(org.gradle.internal.jacoco.JacocoAgentJar agent) agent
  JavaPluginConvention#setProject(org.gradle.api.internal.project.ProjectInternal project) project
  LoggingConfiguration#isColorOutput() Returns true if logging output should be displayed in color when Gradle is running in a console which supports color output.
  LoggingConfiguration#setColorOutput(boolean colorOutput) Specifies whether logging output should be displayed in color.
  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.
  Test#getTestSrcDirs() Returns the directories containing the test source.
  Zip#getEncoding() The character set used to encode ZIP metadata like file names.
  Zip#setEncoding(String encoding) The character set used to encode ZIP metadata like file names.