| Modifier and Type | Method and Description |
|---|---|
Project |
Project.childrenDependOnMe()
Deprecated.
Use
Task.dependsOn(Object...) instead. |
Project |
Project.dependsOnChildren()
Deprecated.
Use
Task.dependsOn(Object...) instead. |
Project |
Project.dependsOnChildren(boolean evaluateDependsOnProject)
Deprecated.
To definde task dependencies use
Task.dependsOn(Object...) instead.
For declaring evaluation dependencies to child projects, use evaluation dependencies
use evaluationDependsOnChildren(). |
Project |
Project.evaluationDependsOn(String path)
Declares that this project has an evaluation dependency on the project with the given path.
|
Project |
Project.findProject(String path)
Locates a project by path.
|
Project |
Project.getParent()
Returns the parent project of this project, if any.
|
Project |
Task.getProject()
Returns the
Project which this task belongs to. |
Project |
Project.getProject()
Returns this project.
|
Project |
Project.getRootProject()
Returns the root project for the hierarchy that this project belongs to.
|
Project |
Project.project(String path)
Locates a project by path.
|
Project |
Project.project(String path,
Closure configureClosure)
Locates a project by path and configures it using the given closure.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Project> |
Project.getAllprojects()
Returns the set containing this project and its subprojects.
|
Map<Project,Set<Task>> |
Project.getAllTasks(boolean recursive)
Returns a map of the tasks contained in this project, and optionally its subprojects.
|
Map<String,Project> |
Project.getChildProjects()
Returns the direct children of this project.
|
Set<Project> |
Project.getDependsOnProjects()
Returns the set of projects which this project depends on.
|
Set<Project> |
Project.getSubprojects()
Returns the set containing the subprojects of this project.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ProjectEvaluationListener.afterEvaluate(Project project,
ProjectState state)
This method is called when a project has been evaluated, and before the evaluated project is made available to
other projects.
|
void |
ProjectEvaluationListener.beforeEvaluate(Project project)
This method is called immediately before a project is evaluated.
|
int |
Project.depthCompare(Project otherProject)
Compares the nesting level of this project with another project of the multi-project hierarchy.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Project.afterEvaluate(Action<? super Project> action)
Adds an action to execute immediately after this project is evaluated.
|
void |
Project.allprojects(Action<? super Project> action)
Configures this project and each of its sub-projects.
|
void |
Project.beforeEvaluate(Action<? super Project> action)
Adds an action to execute immediately before this project is evaluated.
|
void |
Project.subprojects(Action<? super Project> action)
Configures the sub-projects of this project
|
| Modifier and Type | Method and Description |
|---|---|
Project |
ProjectDependency.getDependencyProject()
Returns the project associated with this project dependency.
|
| Modifier and Type | Method and Description |
|---|---|
Project |
AbstractTask.getProject() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractTask.setProject(Project project) |
| Modifier and Type | Method and Description |
|---|---|
Project |
DefaultProjectDependency.getDependencyProject() |
| Modifier and Type | Method and Description |
|---|---|
ProjectDependency |
DependencyProjectNotationParser.parseType(Project notation) |
| Constructor and Description |
|---|
DefaultProjectsPluginContainer(PluginRegistry pluginRegistry,
Project project) |
| Modifier and Type | Method and Description |
|---|---|
String |
OsgiHelper.getBundleSymbolicName(Project project)
Get the symbolic name as group + "." + archivesBaseName, with the following exceptions
if group has only one section (no dots) and archivesBaseName is not null then the first package
name with classes is returned.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ProjectInternal |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractProject |
class |
DefaultProject |
| Modifier and Type | Method and Description |
|---|---|
Project |
AbstractProject.childrenDependOnMe() |
Project |
AbstractProject.dependsOnChildren() |
Project |
AbstractProject.dependsOnChildren(boolean evaluateDependsOnProject) |
Project |
ProjectInternal.evaluate() |
Project |
AbstractProject.evaluationDependsOn(String path) |
Project |
AbstractProject.getProject()
This method is used when scripts access the project via project.x
|
Project |
AbstractProject.project(String path,
Closure configureClosure) |
| Modifier and Type | Method and Description |
|---|---|
Set<Project> |
AbstractProject.getAllprojects() |
Map<Project,Set<Task>> |
AbstractProject.getAllTasks(boolean recursive) |
Map<String,Project> |
AbstractProject.getChildProjects() |
Set<Project> |
AbstractProject.getDependsOnProjects() |
Set<Project> |
AbstractProject.getSubprojects() |
| Modifier and Type | Method and Description |
|---|---|
int |
AbstractProject.compareTo(Project otherProject) |
int |
AbstractProject.depthCompare(Project otherProject) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractProject.afterEvaluate(Action<? super Project> action) |
void |
AbstractProject.allprojects(Action<? super Project> action) |
void |
AbstractProject.beforeEvaluate(Action<? super Project> action) |
void |
AbstractProject.subprojects(Action<? super Project> action) |
| Constructor and Description |
|---|
DefaultAntBuilderFactory(org.apache.tools.ant.BuildListener buildListener,
Project project) |
| Constructor and Description |
|---|
DefaultTaskContainerFactory(Instantiator instantiator,
ITaskFactory taskFactory,
Project project) |
| Modifier and Type | Method and Description |
|---|---|
Project |
Gradle.getRootProject()
Returns the root project of this build.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Gradle.allprojects(Action<? super Project> action)
Adds an action to execute against all projects of this build.
|
void |
Gradle.rootProject(Action<? super Project> action)
Adds an action to execute against the root project of this build.
|
| Modifier and Type | Method and Description |
|---|---|
void |
WarPlugin.apply(Project project) |
void |
ProjectReportsPlugin.apply(Project project) |
void |
JavaPlugin.apply(Project project) |
void |
JavaBasePlugin.apply(Project project) |
void |
GroovyPlugin.apply(Project project) |
| Constructor and Description |
|---|
ReportingExtension(Project project) |
| Modifier and Type | Method and Description |
|---|---|
Set<Project> |
AbstractReportTask.getProjects()
Returns the set of project to generate this report for.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TaskReportTask.generate(Project project) |
void |
PropertyReportTask.generate(Project project) |
protected void |
ProjectReportTask.generate(Project project) |
void |
DependencyReportTask.generate(Project project) |
protected abstract void |
AbstractReportTask.generate(Project project) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractReportTask.setProjects(Set<Project> projects)
Specifies the set of projects to generate this report for.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TextReportRenderer.completeProject(Project project) |
void |
ReportRenderer.completeProject(Project project)
Completes visiting a project.
|
void |
AsciiReportRenderer.completeProject(Project project) |
protected String |
TextReportRenderer.createHeader(Project project) |
protected String |
TaskReportRenderer.createHeader(Project project) |
void |
TextReportRenderer.startProject(Project project) |
void |
TaskReportRenderer.startProject(Project project) |
void |
ReportRenderer.startProject(Project project)
Starts visiting a project.
|
void |
GraphvizReportRenderer.startProject(Project project) |
void |
AsciiReportRenderer.startProject(Project project) |
| Constructor and Description |
|---|
TaskDetailsFactory(Project project) |
| Modifier and Type | Method and Description |
|---|---|
void |
ProjectDependencies2TaskResolver.execute(Project project) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.SetMultimap<String,Task> |
TaskNameResolver.select(String name,
Project project) |
com.google.common.collect.SetMultimap<String,Task> |
TaskNameResolver.selectAll(String name,
Project project) |
| Modifier and Type | Method and Description |
|---|---|
void |
ProjectConverter.addRootLevelProject(Project rootLevelProject)
This adds the specified poject as a root level projects.
|
List<ProjectView> |
ProjectConverter.convertProjects(Project rootProject)
Call this to convert the projects.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultGradle.allprojects(Action<? super Project> action) |
void |
DefaultGradle.rootProject(Action<? super Project> action) |
| Modifier and Type | Method and Description |
|---|---|
Project |
Binary.getProject()
Deprecated.
No replacement
|
| Modifier and Type | Method and Description |
|---|---|
void |
ProfileEventAdapter.afterEvaluate(Project project,
ProjectState state) |
void |
ProfileEventAdapter.beforeEvaluate(Project project) |
ProjectProfile |
BuildProfile.getProjectProfile(Project project)
Get the profiling container for the specified project
|
| Constructor and Description |
|---|
ProjectProfile(Project project) |
| Modifier and Type | Method and Description |
|---|---|
Project |
ProjectBuilder.build()
Creates the project.
|
| Modifier and Type | Method and Description |
|---|---|
ProjectBuilder |
ProjectBuilder.withParent(Project parent)
Specifies the parent project.
|
| Modifier and Type | Method and Description |
|---|---|
Project |
ProjectBuilderImpl.createChildProject(String name,
Project parent,
File projectDir) |
Project |
ProjectBuilderImpl.createProject(String name,
File inputProjectDir) |
| Modifier and Type | Method and Description |
|---|---|
Project |
ProjectBuilderImpl.createChildProject(String name,
Project parent,
File projectDir) |
| Modifier and Type | Method and Description |
|---|---|
void |
TasksFactory.collectTasks(Project root) |
Set<Task> |
TasksFactory.getTasks(Project project) |
Copyright © 2013. All rights reserved