# Deprecated API

## Contents

- Deprecated Interfaces
- Deprecated Classes
- Deprecated Methods
- Deprecated Constructors

- Deprecated Interfaces
  Interface and Description
  org.gradle.api.tasks.CompatibilityAdapterForTaskInputs The interface is only here to allow plugins built against Gradle 2.x to run and it will be removed in Gradle 4.0.
  org.gradle.api.tasks.CompatibilityAdapterForTaskOutputs The interface is only here to allow plugins built against Gradle 2.x to run and it will be removed in Gradle 4.0.
  org.gradle.plugins.javascript.rhino.worker.RhinoWorker
  org.gradle.plugins.javascript.rhino.worker.RhinoWorkerHandleFactory

- Deprecated Classes
  Class and Description
  org.gradle.api.plugins.jetty.AbstractJettyRunTask The Jetty plugin has been deprecated
  org.gradle.api.plugins.jetty.JettyPlugin The Jetty plugin has been deprecated
  org.gradle.api.plugins.jetty.JettyPluginConvention The Jetty plugin has been deprecated
  org.gradle.api.plugins.jetty.JettyRun The Jetty plugin has been deprecated
  org.gradle.api.plugins.jetty.JettyRunWar The Jetty plugin has been deprecated
  org.gradle.api.plugins.jetty.JettyStop The Jetty plugin has been deprecated
  org.gradle.plugins.javascript.rhino.worker.RhinoWorkerUtils
  org.gradle.api.plugins.jetty.ScanTargetPattern The Jetty plugin has been deprecated

- Deprecated Methods
  Method and Description
  org.gradle.api.tasks.TaskInputFilePropertyBuilder.dir(Object) Use `TaskInputs.dir(Object)` directly instead.
  org.gradle.api.tasks.TaskOutputFilePropertyBuilder.dir(Object) Use `TaskOutputs.dir(Object)` instead.
  org.gradle.api.tasks.TaskInputFilePropertyBuilder.file(Object) Use `TaskInputs.file(Object)` directly instead.
  org.gradle.api.tasks.TaskOutputFilePropertyBuilder.file(Object) Use `TaskOutputs.file(Object)` instead.
  org.gradle.api.tasks.TaskInputFilePropertyBuilder.files(Object...) Use `TaskInputs.files(Object...)` directly instead.
  org.gradle.api.tasks.TaskOutputFilePropertyBuilder.files(Object...) Use `TaskOutputs.files(Object...)` instead.
  org.gradle.testing.jacoco.plugins.JacocoTaskExtension.getAgent() Agent should be considered final.
  org.gradle.api.artifacts.ModuleDependency.getConfiguration() Use `ModuleDependency.getTargetConfiguration()` instead
  org.gradle.tooling.model.idea.IdeaModuleDependency.getDependencyModule()
  org.gradle.api.tasks.TaskInputFilePropertyBuilder.getFiles() Use `TaskInputs.getFiles()` directly instead.
  org.gradle.api.tasks.TaskOutputFilePropertyBuilder.getFiles() Use `TaskOutputs.getFiles()` instead.
  org.gradle.plugins.ide.eclipse.model.ProjectDependency.getGradlePath()
  org.gradle.api.tasks.TaskInputFilePropertyBuilder.getHasInputs() Use `TaskInputs.getHasInputs()` directly instead.
  org.gradle.api.tasks.TaskOutputFilePropertyBuilder.getHasOutput() Use `TaskOutputs.getHasOutput()` instead.
  org.gradle.api.tasks.TaskInputFilePropertyBuilder.getHasSourceFiles() Use `TaskInputs.getHasSourceFiles()` directly instead.
  org.gradle.testing.jacoco.plugins.JacocoPluginExtension.getLogger() logger should be considered final.
  org.gradle.api.artifacts.ProjectDependency.getProjectConfiguration() A project dependency may select different configurations.
  org.gradle.api.tasks.TaskInputFilePropertyBuilder.getProperties() Use `TaskInputs.getProperties()` directly instead.
  org.gradle.api.tasks.TaskInputFilePropertyBuilder.getSourceFiles() Use `TaskInputs.getSourceFiles()` directly instead.
  org.gradle.tooling.model.eclipse.EclipseProjectDependency.getTargetProject()
  org.gradle.api.Task.leftShift(Closure) Use `Task.doLast(Closure action)`
  org.gradle.api.tasks.TaskInputFilePropertyBuilder.properties(Map) Use `TaskInputs.properties(Map)` directly instead.
  org.gradle.api.tasks.TaskInputFilePropertyBuilder.property(String, Object) Use `TaskInputs.property(String, Object)` directly instead.
  org.gradle.testing.jacoco.plugins.JacocoTaskExtension.setAgent(JacocoAgentJar) Agent should be considered final.
  org.gradle.plugins.ide.eclipse.model.ProjectDependency.setGradlePath(String)
  org.gradle.testing.jacoco.plugins.JacocoPluginExtension.setLogger(Logger) logger should be considered final.
  org.gradle.api.plugins.JavaPluginConvention.setProject(ProjectInternal) Project should be considered final.
  org.gradle.api.tasks.TaskInputs.source(Object...) Use `TaskInputs.files(Object...)` instead and set `skipWhenEmpty` to `true`.
  org.gradle.api.tasks.TaskInputFilePropertyBuilder.source(Object...) Use `TaskInputs.source(Object...)` directly instead.
  org.gradle.api.tasks.TaskInputs.source(Object) Use `TaskInputs.file(Object)` instead and set `skipWhenEmpty` to `true`.
  org.gradle.api.tasks.TaskInputFilePropertyBuilder.source(Object) Use `TaskInputs.source(Object)` directly instead.
  org.gradle.api.tasks.TaskInputs.sourceDir(Object) Use `TaskInputs.dir(Object)` instead and set `skipWhenEmpty` to `true`.
  org.gradle.api.tasks.TaskInputFilePropertyBuilder.sourceDir(Object) Use `TaskInputs.sourceDir(Object)` directly instead.
  org.gradle.api.tasks.TaskOutputFilePropertyBuilder.upToDateWhen(Closure) Use `TaskOutputs.upToDateWhen(Closure)` instead.
  org.gradle.api.tasks.TaskOutputFilePropertyBuilder.upToDateWhen(Spec) Use `TaskOutputs.upToDateWhen(Spec)` instead.
  org.gradle.api.java.archives.Manifest.writeTo(Writer)

- Deprecated Constructors
  Constructor and Description
  org.gradle.plugins.ide.eclipse.model.AccessRule(Object, Object)
  org.gradle.plugins.ear.EarPluginConvention(Instantiator)
  org.gradle.plugins.ide.idea.model.JarDirectory(Object, Object)
  org.gradle.plugins.ide.idea.model.Jdk(Object, Object, Object, Object)
  org.gradle.plugins.ide.idea.model.ModuleDependency(Object, Object)
  org.gradle.plugins.ide.eclipse.model.ProjectDependency(String, String) Use `ProjectDependency.ProjectDependency(String)` instead
  org.gradle.plugins.ide.eclipse.model.WbDependentModule(Object)
  org.gradle.plugins.ide.eclipse.model.WbProperty(Object)
  org.gradle.plugins.ide.eclipse.model.WbResource(Object)