|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gradle.api.internal.project.AbstractProject
org.gradle.api.internal.project.DefaultProject
class DefaultProject extends AbstractProject
Constructor Summary | |
DefaultProject(java.lang.String name)
|
|
DefaultProject(java.lang.String name, ProjectInternal parent, java.io.File projectDir, java.io.File buildFile, ScriptSource buildScriptSource, IProjectRegistry projectRegistry, BuildInternal build, ProjectServiceRegistryFactory serviceRegistryFactory)
|
Method Summary | |
---|---|
void
|
allprojects(groovy.lang.Closure configureClosure)
|
def
|
ant(groovy.lang.Closure configureClosure)
|
void
|
artifacts(groovy.lang.Closure configureClosure)
|
void
|
buildscript(groovy.lang.Closure configureClosure)
|
void
|
configurations(groovy.lang.Closure configureClosure)
|
java.lang.Object
|
configure(java.lang.Object object, groovy.lang.Closure configureClosure)
|
java.lang.Iterable
|
configure(java.lang.Iterable objects, groovy.lang.Closure configureClosure)
|
void
|
dependencies(groovy.lang.Closure configureClosure)
|
def
|
methodMissing(java.lang.String name, def args)
|
java.lang.Object
|
passThrough(java.lang.Object object)
This is called by the task creation DSL. |
Project
|
project(java.lang.String path, groovy.lang.Closure configureClosure)
|
def
|
propertyMissing(java.lang.String name)
|
void
|
repositories(groovy.lang.Closure configureClosure)
|
void
|
setProperty(java.lang.String name, def value)
|
void
|
subprojects(groovy.lang.Closure configureClosure)
|
Task
|
task(java.lang.String task)
Adds a task with the given name. |
Task
|
task(java.lang.String task, groovy.lang.Closure configureClosure)
Adds a task with the given name and configure closure. |
Task
|
task(java.util.Map options, java.lang.String task)
Adds a task with the given name and options. |
Task
|
task(java.util.Map options, java.lang.String task, groovy.lang.Closure configureClosure)
Adds a task with the given name, options and configure closure. |
Methods inherited from class java.lang.Object | |
---|---|
hashCode, getClass, equals, toString, wait, wait, wait, notify, notifyAll |
Constructor Detail |
---|
public DefaultProject(java.lang.String name)
public DefaultProject(java.lang.String name, ProjectInternal parent, java.io.File projectDir, java.io.File buildFile, ScriptSource buildScriptSource, IProjectRegistry projectRegistry, BuildInternal build, ProjectServiceRegistryFactory serviceRegistryFactory)
Method Detail |
---|
public void allprojects(groovy.lang.Closure configureClosure)
public def ant(groovy.lang.Closure configureClosure)
public void artifacts(groovy.lang.Closure configureClosure)
public void buildscript(groovy.lang.Closure configureClosure)
public void configurations(groovy.lang.Closure configureClosure)
public java.lang.Object configure(java.lang.Object object, groovy.lang.Closure configureClosure)
public java.lang.Iterable configure(java.lang.Iterable objects, groovy.lang.Closure configureClosure)
public void dependencies(groovy.lang.Closure configureClosure)
public def methodMissing(java.lang.String name, def args)
public java.lang.Object passThrough(java.lang.Object object)
public Project project(java.lang.String path, groovy.lang.Closure configureClosure)
public def propertyMissing(java.lang.String name)
public void repositories(groovy.lang.Closure configureClosure)
void setProperty(java.lang.String name, def value)
public void subprojects(groovy.lang.Closure configureClosure)
public Task task(java.lang.String task)
public Task task(java.lang.String task, groovy.lang.Closure configureClosure)
public Task task(java.util.Map options, java.lang.String task)
public Task task(java.util.Map options, java.lang.String task, groovy.lang.Closure configureClosure)
Groovy Documentation