# EclipsePlugin

abstract class EclipsePlugin : IdePlugin(source)

A plugin which generates Eclipse files.

#### Since

1.0

#### See also

Eclipse plugin reference

## Constructors

EclipsePlugin
Link copied to clipboard
@Inject
constructor(uniqueProjectNameProvider: UniqueProjectNameProvider, artifactRegistry: IdeArtifactRegistry, jvmPluginServices: JvmPluginServices)

## Properties

ECLIPSE_CP_TASK_NAME
Link copied to clipboard
val ECLIPSE_CP_TASK_NAME: String = "eclipseClasspath"
The eclipse cp task name.
ECLIPSE_JDT_TASK_NAME
Link copied to clipboard
val ECLIPSE_JDT_TASK_NAME: String = "eclipseJdt"
The eclipse jdt task name.
ECLIPSE_PROJECT_TASK_NAME
Link copied to clipboard
val ECLIPSE_PROJECT_TASK_NAME: String = "eclipseProject"
The eclipse project task name.
ECLIPSE_TASK_NAME
Link copied to clipboard
val ECLIPSE_TASK_NAME: String = "eclipse"
The eclipse task name.

## Functions

addWorker
Link copied to clipboard
open fun addWorker(worker: Task)
apply
Link copied to clipboard
abstract fun apply(target: T)
open fun apply(target: Project)
Apply this plugin to the given target object.
getCleanTask
Link copied to clipboard
open fun getCleanTask(): TaskProvider<out Task>
getLifecycleTask
Link copied to clipboard
open fun getLifecycleTask(): TaskProvider<out Task>
isRoot
Link copied to clipboard
open fun isRoot(): Boolean
toGradleCommand
Link copied to clipboard
open fun toGradleCommand(project: Project): String