Java Code Examples for org.gradle.api.internal.project.taskfactory.ITaskFactory

The following examples show how to use org.gradle.api.internal.project.taskfactory.ITaskFactory. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source Project: pushfish-android   Author: PushFish   File: BuildScopeServices.java    License: BSD 2-Clause "Simplified" License 5 votes vote down vote up
protected ITaskFactory createITaskFactory() {
    return new DependencyAutoWireTaskFactory(
            new AnnotationProcessingTaskFactory(
                    new TaskFactory(
                            get(ClassGenerator.class))
            )
    );
}
 
Example #2
Source Project: javaide   Author: tranleduy2000   File: JavaBasePlugin.java    License: GNU General Public License v3.0 5 votes vote down vote up
@Inject
public JavaBasePlugin(Instantiator instantiator, JavaToolChain javaToolChain, ITaskFactory taskFactory, ModelRegistry modelRegistry) {
    this.instantiator = instantiator;
    this.javaToolChain = javaToolChain;
    this.taskFactory = taskFactory;
    this.modelRegistry = modelRegistry;
}
 
Example #3
Source Project: Pushjet-Android   Author: Pushjet   File: BuildScopeServices.java    License: BSD 2-Clause "Simplified" License 5 votes vote down vote up
protected ITaskFactory createITaskFactory() {
    return new DependencyAutoWireTaskFactory(
            new AnnotationProcessingTaskFactory(
                    new TaskFactory(
                            get(ClassGenerator.class))
            )
    );
}
 
Example #4
Source Project: pushfish-android   Author: PushFish   File: DefaultTaskContainer.java    License: BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DefaultTaskContainer(ProjectInternal project, Instantiator instantiator, ITaskFactory taskFactory, ProjectAccessListener projectAccessListener) {
    super(Task.class, instantiator, project);
    this.taskFactory = taskFactory;
    this.projectAccessListener = projectAccessListener;
}
 
Example #5
Source Project: pushfish-android   Author: PushFish   File: DefaultTaskContainerFactory.java    License: BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DefaultTaskContainerFactory(Instantiator instantiator, ITaskFactory taskFactory, Project project, ProjectAccessListener projectAccessListener) {
    this.instantiator = instantiator;
    this.taskFactory = taskFactory;
    this.project = project;
    this.projectAccessListener = projectAccessListener;
}
 
Example #6
Source Project: pushfish-android   Author: PushFish   File: ProjectScopeServices.java    License: BSD 2-Clause "Simplified" License 4 votes vote down vote up
protected ITaskFactory createTaskFactory(ITaskFactory parentFactory) {
    return parentFactory.createChild(project, new ClassGeneratorBackedInstantiator(get(ClassGenerator.class), new DependencyInjectingInstantiator(this)));
}
 
Example #7
Source Project: pushfish-android   Author: PushFish   File: ProjectScopeServices.java    License: BSD 2-Clause "Simplified" License 4 votes vote down vote up
protected Factory<TaskContainerInternal> createTaskContainerInternal() {
    return new DefaultTaskContainerFactory(get(Instantiator.class), get(ITaskFactory.class), project, get(ProjectAccessListener.class));
}
 
Example #8
Source Project: pushfish-android   Author: PushFish   File: DefaultTaskContainer.java    License: BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DefaultTaskContainer(ProjectInternal project, Instantiator instantiator, ITaskFactory taskFactory, ProjectAccessListener projectAccessListener) {
    super(Task.class, instantiator, project);
    this.taskFactory = taskFactory;
    this.projectAccessListener = projectAccessListener;
}
 
Example #9
Source Project: pushfish-android   Author: PushFish   File: DefaultTaskContainerFactory.java    License: BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DefaultTaskContainerFactory(Instantiator instantiator, ITaskFactory taskFactory, Project project, ProjectAccessListener projectAccessListener) {
    this.instantiator = instantiator;
    this.taskFactory = taskFactory;
    this.project = project;
    this.projectAccessListener = projectAccessListener;
}
 
Example #10
Source Project: pushfish-android   Author: PushFish   File: ProjectScopeServices.java    License: BSD 2-Clause "Simplified" License 4 votes vote down vote up
protected ITaskFactory createTaskFactory(ITaskFactory parentFactory) {
    return parentFactory.createChild(project, new ClassGeneratorBackedInstantiator(get(ClassGenerator.class), new DependencyInjectingInstantiator(this)));
}
 
Example #11
Source Project: pushfish-android   Author: PushFish   File: ProjectScopeServices.java    License: BSD 2-Clause "Simplified" License 4 votes vote down vote up
protected Factory<TaskContainerInternal> createTaskContainerInternal() {
    return new DefaultTaskContainerFactory(get(Instantiator.class), get(ITaskFactory.class), project, get(ProjectAccessListener.class));
}
 
Example #12
Source Project: pushfish-android   Author: PushFish   File: BuildScopeServices.java    License: BSD 2-Clause "Simplified" License 4 votes vote down vote up
protected ITaskFactory createITaskFactory() {
    return new DependencyAutoWireTaskFactory(
            new AnnotationProcessingTaskFactory(
                    new TaskFactory(
                            get(ClassGenerator.class))));
}
 
Example #13
Source Project: Pushjet-Android   Author: Pushjet   File: DefaultTaskContainer.java    License: BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DefaultTaskContainer(ProjectInternal project, Instantiator instantiator, ITaskFactory taskFactory, ProjectAccessListener projectAccessListener) {
    super(Task.class, instantiator, project);
    this.taskFactory = taskFactory;
    this.projectAccessListener = projectAccessListener;
}
 
Example #14
Source Project: Pushjet-Android   Author: Pushjet   File: DefaultTaskContainerFactory.java    License: BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DefaultTaskContainerFactory(Instantiator instantiator, ITaskFactory taskFactory, Project project, ProjectAccessListener projectAccessListener) {
    this.instantiator = instantiator;
    this.taskFactory = taskFactory;
    this.project = project;
    this.projectAccessListener = projectAccessListener;
}
 
Example #15
Source Project: Pushjet-Android   Author: Pushjet   File: ProjectScopeServices.java    License: BSD 2-Clause "Simplified" License 4 votes vote down vote up
protected ITaskFactory createTaskFactory(ITaskFactory parentFactory) {
    return parentFactory.createChild(project, new ClassGeneratorBackedInstantiator(get(ClassGenerator.class), new DependencyInjectingInstantiator(this)));
}
 
Example #16
Source Project: Pushjet-Android   Author: Pushjet   File: ProjectScopeServices.java    License: BSD 2-Clause "Simplified" License 4 votes vote down vote up
protected Factory<TaskContainerInternal> createTaskContainerInternal() {
    return new DefaultTaskContainerFactory(get(Instantiator.class), get(ITaskFactory.class), project, get(ProjectAccessListener.class));
}
 
Example #17
Source Project: Pushjet-Android   Author: Pushjet   File: DefaultTaskContainer.java    License: BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DefaultTaskContainer(ProjectInternal project, Instantiator instantiator, ITaskFactory taskFactory, ProjectAccessListener projectAccessListener) {
    super(Task.class, instantiator, project);
    this.taskFactory = taskFactory;
    this.projectAccessListener = projectAccessListener;
}
 
Example #18
Source Project: Pushjet-Android   Author: Pushjet   File: DefaultTaskContainerFactory.java    License: BSD 2-Clause "Simplified" License 4 votes vote down vote up
public DefaultTaskContainerFactory(Instantiator instantiator, ITaskFactory taskFactory, Project project, ProjectAccessListener projectAccessListener) {
    this.instantiator = instantiator;
    this.taskFactory = taskFactory;
    this.project = project;
    this.projectAccessListener = projectAccessListener;
}
 
Example #19
Source Project: Pushjet-Android   Author: Pushjet   File: ProjectScopeServices.java    License: BSD 2-Clause "Simplified" License 4 votes vote down vote up
protected ITaskFactory createTaskFactory(ITaskFactory parentFactory) {
    return parentFactory.createChild(project, new ClassGeneratorBackedInstantiator(get(ClassGenerator.class), new DependencyInjectingInstantiator(this)));
}
 
Example #20
Source Project: Pushjet-Android   Author: Pushjet   File: ProjectScopeServices.java    License: BSD 2-Clause "Simplified" License 4 votes vote down vote up
protected Factory<TaskContainerInternal> createTaskContainerInternal() {
    return new DefaultTaskContainerFactory(get(Instantiator.class), get(ITaskFactory.class), project, get(ProjectAccessListener.class));
}
 
Example #21
Source Project: Pushjet-Android   Author: Pushjet   File: BuildScopeServices.java    License: BSD 2-Clause "Simplified" License 4 votes vote down vote up
protected ITaskFactory createITaskFactory() {
    return new DependencyAutoWireTaskFactory(
            new AnnotationProcessingTaskFactory(
                    new TaskFactory(
                            get(ClassGenerator.class))));
}