public class LazyConfigurer extends java.lang.Object
Offers means to lazily configure Gradle tasks, only when the tasks are in the task graph. This way, we identify missing settings before tasks are executed. This is important, because when tasks are executed they can do stuff that is hard to reverse. So we want to do all the validation beforehand.
| Type | Name and description |
|---|---|
void |
configureLazily(org.gradle.api.Task task, java.lang.Runnable action)Lazily configures given task, only when the task is included in the task graph |
static LazyConfigurer |
getConfigurer(org.gradle.api.Project project)Gets the configurer for the project. |
void |
graphPopulated(org.gradle.api.execution.TaskExecutionGraph graph) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Lazily configures given task, only when the task is included in the task graph
Gets the configurer for the project. Configurer is a singleton hooked up to the root project.