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

The following examples show how to use org.gradle.api.internal.project.taskfactory.ITaskFactory. 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 File: BuildScopeServices.java    From pushfish-android with 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 File: BuildScopeServices.java    From Pushjet-Android with 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 #3
Source File: JavaBasePlugin.java    From javaide with 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 #4
Source File: BuildScopeServices.java    From Pushjet-Android with 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 #5
Source File: DefaultTaskContainer.java    From pushfish-android with 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 #6
Source File: ProjectScopeServices.java    From Pushjet-Android with 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 #7
Source File: ProjectScopeServices.java    From Pushjet-Android with 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 #8
Source File: DefaultTaskContainerFactory.java    From Pushjet-Android with 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 #9
Source File: DefaultTaskContainer.java    From Pushjet-Android with 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 #10
Source File: ProjectScopeServices.java    From Pushjet-Android with 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 #11
Source File: ProjectScopeServices.java    From Pushjet-Android with 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 #12
Source File: DefaultTaskContainerFactory.java    From Pushjet-Android with 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 #13
Source File: DefaultTaskContainer.java    From Pushjet-Android with 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 File: BuildScopeServices.java    From pushfish-android with 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 #15
Source File: ProjectScopeServices.java    From pushfish-android with 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 #16
Source File: ProjectScopeServices.java    From pushfish-android with 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 #17
Source File: DefaultTaskContainerFactory.java    From pushfish-android with 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 #18
Source File: DefaultTaskContainer.java    From pushfish-android with 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 #19
Source File: ProjectScopeServices.java    From pushfish-android with 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 #20
Source File: ProjectScopeServices.java    From pushfish-android with 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 #21
Source File: DefaultTaskContainerFactory.java    From pushfish-android with 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;
}