Package-level declarations

Classes for the model used by the eclipse plugins.

Types

Link copied to clipboard
Common superclass for all ClasspathEntry instances.
Link copied to clipboard
Common superclass for the library elements.
Link copied to clipboard
open class AccessRule
Access rule associated to a classpath entry.
Link copied to clipboard
A build command.
Link copied to clipboard
open class Classpath : XmlPersistableConfigurationObject
Represents the customizable elements of an eclipse classpath file.
Link copied to clipboard
interface ClasspathEntry
Represents an entry in the Eclipse classpath.
Link copied to clipboard
A container classpath entry.
Link copied to clipboard
abstract class EclipseClasspath
The build path settings for the generated Eclipse project.
Link copied to clipboard
abstract class EclipseJdt
Enables fine-tuning jdt details of the Eclipse plugin
plugins {
    id 'java'
    id 'eclipse'
}

eclipse {
  jdt {
    //if you want to alter the java versions (by default they are configured with gradle java plugin settings):
    sourceCompatibility = 1.6
    targetCompatibility = 1.5
    javaRuntimeName = "J2SE-1.5"

    file {
      //whenMerged closure is the highest voodoo
      //and probably should be used only to solve tricky edge cases.
      //the type passed to the closure is Jdt

      //closure executed after jdt file content is loaded from existing file
      //and after gradle build information is merged
      whenMerged { jdt
        //you can tinker with the Jdt here
      }

      //withProperties allows addition of properties not currently
      //modeled by Gradle
      withProperties { properties ->
          //you can tinker with the java.util.Properties here
      }
    }
  }
}
Link copied to clipboard
abstract class EclipseModel
DSL-friendly model of the Eclipse project information.
Link copied to clipboard
abstract class EclipseProject
Enables fine-tuning project details (.
Link copied to clipboard
abstract class EclipseWtp
Enables fine-tuning wtp/wst details of the Eclipse plugin For projects applying the eclipse plugin and either one of the ear or war plugins, this plugin is auto-applied.
Link copied to clipboard
abstract class EclipseWtpComponent
Enables fine-tuning wtp component details of the Eclipse plugin Example of use with a blend of all possible properties.
Link copied to clipboard
abstract class EclipseWtpFacet
Enables fine-tuning wtp facet details of the Eclipse plugin Advanced configuration closures beforeMerged and whenMerged receive WtpFacet object as parameter.
Link copied to clipboard
open class Facet
A project facet.
Link copied to clipboard
interface FileReference
A reference to a file in eclipse.
Link copied to clipboard
open class Jdt : PropertiesPersistableConfigurationObject
Represents the Eclipse JDT settings.
Link copied to clipboard
A classpath entry representing a library.
Link copied to clipboard
open class Link
Link.
Link copied to clipboard
open class Output : ClasspathEntry
A classpath entry representing an output folder.
Link copied to clipboard
open class Project : XmlPersistableConfigurationObject
Represents the customizable elements of an eclipse project file.
Link copied to clipboard
A classpath entry representing a project dependency.
Link copied to clipboard
interface ResourceFilter
The gradle DSL model of an Eclipse resource filter.
Link copied to clipboard
Specifies the type of resource that the Eclipse ResourceFilter applies to.
Link copied to clipboard
The model of an Eclipse resource filter matcher.
Link copied to clipboard
Specifies whether an Eclipse ResourceFilter is including or excluding resources.
Link copied to clipboard
SourceFolder.path contains only project relative path.
Link copied to clipboard
A library that turned out to be unresolved.
Link copied to clipboard
A variable library entry.
Link copied to clipboard
A wtp descriptor dependent module entry.
Link copied to clipboard
interface WbModuleEntry
Represents an entry in wb-module.
Link copied to clipboard
A wtp descriptor property entry.
Link copied to clipboard
A wtp descriptor resource entry.
Link copied to clipboard
open class WtpComponent : XmlPersistableConfigurationObject
Creates the .settings/org.eclipse.wst.common.component file for WTP projects.
Link copied to clipboard
open class WtpFacet : XmlPersistableConfigurationObject
Creates the .settings/org.eclipse.wst.common.project.facet.core.xml file for WTP projects.