# Deprecated API

## Contents

- Deprecated Packages
- Deprecated Interfaces
- Deprecated Classes
- Deprecated Fields
- Deprecated Methods

- Deprecated Packages
  Package and Description
  org.gradle.sonar.runner The 'sonar-runner' been superseded by the official plugin from SonarQube, please see: http://docs.sonarqube.org/display/SONAR/Analyzing+with+Gradle

- Deprecated Interfaces
  Interface and Description
  org.gradle.model.collection.CollectionBuilder use `ModelMap` instead
  org.gradle.api.artifacts.ConflictResolution
  org.gradle.api.tasks.ConventionValue Use `Closure` or `Callable` instead.
  org.gradle.model.collection.ManagedSet use `ModelSet` instead
  org.gradle.api.artifacts.Module

- Deprecated Classes
  Class and Description
  org.gradle.api.tasks.javadoc.AntGroovydoc
  org.gradle.BuildExceptionReporter
  org.gradle.BuildLogger
  org.gradle.BuildResultLogger
  org.gradle.sonar.runner.SonarProperties The 'sonar-runner' plugin has been superseded by the official plugin from SonarQube, please see: http://docs.sonarqube.org/display/SONAR/Analyzing+with+Gradle
  org.gradle.sonar.runner.tasks.SonarRunner The 'sonar-runner' plugin has been superseded by the official plugin from SonarQube, please see: http://docs.sonarqube.org/display/SONAR/Analyzing+with+Gradle
  org.gradle.sonar.runner.SonarRunnerExtension The 'sonar-runner' plugin has been superseded by the official plugin from SonarQube, please see: http://docs.sonarqube.org/display/SONAR/Analyzing+with+Gradle
  org.gradle.sonar.runner.plugins.SonarRunnerPlugin The 'sonar-runner' plugin has been superseded by the official plugin from SonarQube, please see: http://docs.sonarqube.org/display/SONAR/Analyzing+with+Gradle
  org.gradle.sonar.runner.SonarRunnerRootExtension The 'sonar-runner' plugin has been superseded by the official plugin from SonarQube, please see: http://docs.sonarqube.org/display/SONAR/Analyzing+with+Gradle
  org.gradle.TaskExecutionLogger
  org.gradle.api.tasks.bundling.Zip.ZipCopyActionImpl

- Deprecated Fields
  Field and Description
  org.gradle.api.logging.Logging.ANT_IVY_2_SLF4J_LEVEL_MAPPER

- Deprecated Methods
  Method and Description
  org.gradle.StartParameter.getParallelThreadCount() Use getMaxWorkerCount or isParallelProjectExecutionEnabled instead.
  org.gradle.tooling.model.Task.getProject() Do not use this method. It is assumed that the caller already has a reference to owning project.
  org.gradle.platform.base.BinarySpec.getSource() This method is replaced with `BinarySpec.getInputs()`.
  org.gradle.platform.base.ComponentSpec.getSource() This method is replaced with `ComponentSpec.getSources()`.
  org.gradle.StartParameter.setParallelThreadCount(int)