For AI agents: the documentation index is at
https://docs.gradle.org/llms.txt
. Request any page with the header
Accept: text/markdown
to get Markdown. User manual pages are also available as Markdown by replacing
.html
with
.md
in the URL.
gradle
Toggle table of contents
9.9.1
API
Target filter
API
Switch theme
Search in API
Skip to content
gradle
gradle
/
org.gradle.plugins.ide.eclipse
/
EclipsePlugin
Eclipse
Plugin
API
abstract
class
EclipsePlugin
:
IdePlugin
(
source
)
A plugin which generates Eclipse files.
Since
1.0
See also
Eclipse plugin reference
Members
Constructors
Eclipse
Plugin
Link copied to clipboard
API
@
Inject
constructor
(
uniqueProjectNameProvider
:
UniqueProjectNameProvider
,
artifactRegistry
:
IdeArtifactRegistry
,
jvmPluginServices
:
JvmPluginServices
)
Properties
ECLIPSE_
CP_
TASK_
NAME
Link copied to clipboard
API
val
ECLIPSE_CP_TASK_NAME
:
String
=
"eclipseClasspath"
The eclipse cp task name.
ECLIPSE_
JDT_
TASK_
NAME
Link copied to clipboard
API
val
ECLIPSE_JDT_TASK_NAME
:
String
=
"eclipseJdt"
The eclipse jdt task name.
ECLIPSE_
PROJECT_
TASK_
NAME
Link copied to clipboard
API
val
ECLIPSE_PROJECT_TASK_NAME
:
String
=
"eclipseProject"
The eclipse project task name.
ECLIPSE_
TASK_
NAME
Link copied to clipboard
API
val
ECLIPSE_TASK_NAME
:
String
=
"eclipse"
The eclipse task name.
Functions
add
Worker
Link copied to clipboard
API
open
fun
addWorker
(
worker
:
Task
)
apply
Link copied to clipboard
API
abstract
fun
apply
(
target
:
T
)
open
fun
apply
(
target
:
Project
)
Apply this plugin to the given target object.
get
Clean
Task
Link copied to clipboard
API
open
fun
getCleanTask
(
)
:
TaskProvider
<
out
Task
>
get
Lifecycle
Task
Link copied to clipboard
API
open
fun
getLifecycleTask
(
)
:
TaskProvider
<
out
Task
>
is
Root
Link copied to clipboard
API
open
fun
isRoot
(
)
:
Boolean
to
Gradle
Command
Link copied to clipboard
API
open
fun
toGradleCommand
(
project
:
Project
)
:
String