Movatterモバイル変換


[0]ホーム

URL:


EclipseModel

Table of Contents

Properties
Methods
Script blocks
Property details
Method details
Script block details
API Documentation:EclipseModel

DSL-friendly model of the Eclipse project information.First point of entry for customizing Eclipse project generation.

apply plugin:'java'apply plugin:'eclipse'apply plugin:'eclipse-wtp'//for web projects onlyeclipse {  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  }}

More examples in docs forEclipseProject,EclipseClasspath,EclipseWtp

Properties

PropertyDescription
classpath

Configures eclipse classpath information

jdt

Configures eclipse java compatibility information (jdt)

project

Configures eclipse project information

wtp

Configures eclipse wtp information

Methods

MethodDescription
classpath(action)

Configures eclipse classpath information

jdt(action)

Configures eclipse java compatibility information (jdt)

pathVariables(pathVariables)

Adds path variables to be used for replacing absolute paths in classpath entries.

project(action)

Configures eclipse project information

wtp(action)

Configures eclipse wtp information

Script blocks

BlockDescription
classpath

Configures eclipse classpath information

jdt

Configures eclipse java compatibility information (jdt)

project

Configures eclipse project information

wtp

Configures eclipse wtp information

Property details

Configures eclipse classpath information

For examples see docs forEclipseClasspath

Configures eclipse java compatibility information (jdt)

For examples see docs forEclipseProject

Configures eclipse project information

For examples see docs forEclipseProject

Configures eclipse wtp information

For examples see docs forEclipseWtp

Method details

voidclasspath(Action<? superEclipseClasspath> action)

Configures eclipse classpath information

For examples see docs forEclipseClasspath

voidjdt(Action<? superEclipseJdt> action)

Configures eclipse java compatibility information (jdt)

For examples see docs forEclipseProject

voidpathVariables(Map<String,File> pathVariables)

Adds path variables to be used for replacing absolute paths in classpath entries.

If the beginning of the absolute path of a library or other path-related element matches a value of a variable,a variable entry is used. The matching part of the library path is replaced with the variable name.

For example see docs forEclipseModel

voidproject(Action<? superEclipseProject> action)

Configures eclipse project information

For examples see docs forEclipseProject

voidwtp(Action<? superEclipseWtp> action)

Configures eclipse wtp information

For examples see docs forEclipseWtp

Script block details

classpath { }

Configures eclipse classpath information

For examples see docs forEclipseClasspath

Delegates to:
EclipseClasspath fromclasspath

jdt { }

Configures eclipse java compatibility information (jdt)

For examples see docs forEclipseProject

Delegates to:
EclipseJdt fromjdt

project { }

Configures eclipse project information

For examples see docs forEclipseProject

Delegates to:
EclipseProject fromproject

wtp { }

Configures eclipse wtp information

For examples see docs forEclipseWtp

Delegates to:
EclipseWtp fromwtp

[8]ページ先頭

©2009-2025 Movatter.jp