use of org.gradle.internal.reflect.Instantiator in project gradle by gradle.
the class AbstractCopyTask method createRootSpec.
protected CopySpecInternal createRootSpec() {
Instantiator instantiator = getInstantiator();
FileResolver fileResolver = getFileResolver();
return instantiator.newInstance(DefaultCopySpec.class, fileResolver, instantiator);
}
use of org.gradle.internal.reflect.Instantiator in project gradle by gradle.
the class Sync method createRootSpec.
@Override
protected CopySpecInternal createRootSpec() {
Instantiator instantiator = getInstantiator();
FileResolver fileResolver = getFileResolver();
return instantiator.newInstance(DestinationRootCopySpec.class, fileResolver, super.createRootSpec());
}
use of org.gradle.internal.reflect.Instantiator in project gradle by gradle.
the class AbstractCopyTask method createCopyActionExecuter.
protected CopyActionExecuter createCopyActionExecuter() {
Instantiator instantiator = getInstantiator();
FileSystem fileSystem = getFileSystem();
return new CopyActionExecuter(instantiator, getObjectFactory(), fileSystem, false, getDocumentationRegistry());
}
use of org.gradle.internal.reflect.Instantiator in project gradle by gradle.
the class AbstractArchiveTask method createCopyActionExecuter.
@Override
protected CopyActionExecuter createCopyActionExecuter() {
Instantiator instantiator = getInstantiator();
FileSystem fileSystem = getFileSystem();
return new CopyActionExecuter(instantiator, getObjectFactory(), fileSystem, isReproducibleFileOrder(), getDocumentationRegistry());
}
use of org.gradle.internal.reflect.Instantiator in project gradle by gradle.
the class TestContainer method doCreate.
protected TestObject doCreate(String name) {
Instantiator instantiator = getInstantiator();
TestObject testObject = new TestObject(instantiator);
testObject.setName(name);
return testObject;
}
Aggregations