Eclipse Model
DSL-friendly model of the Eclipse project information. First point of entry for customizing Eclipse project generation.
plugins {
id 'java'
id 'eclipse'
id 'eclipse-wtp' // for web projects only
}
eclipse {
pathVariables 'GRADLE_HOME': file('/best/software/gradle'), 'TOMCAT_HOME': file('../tomcat')
project {
//see docs for EclipseProject
}
classpath {
//see docs for EclipseClasspath
}
wtp {
//see docs for EclipseWtp
}
}
Content copied to clipboard
Properties
Functions
Link copied to clipboard
Set tasks to be executed during the Eclipse auto-build.
Link copied to clipboard
Configures eclipse classpath information For examples see docs for EclipseClasspath
Link copied to clipboard
Returns the tasks to be executed during the Eclipse auto-build.
Link copied to clipboard
Returns the tasks to be executed before the Eclipse synchronization starts.
Link copied to clipboard
Configures eclipse java compatibility information (jdt) For examples see docs for EclipseProject
Link copied to clipboard
Adds path variables to be used for replacing absolute paths in classpath entries.
Link copied to clipboard
Configures eclipse project information For examples see docs for EclipseProject
Link copied to clipboard
Set tasks to be executed before the Eclipse synchronization.
Link copied to clipboard
Configures eclipse wtp information For examples see docs for EclipseWtp