use of com.google.copybara.transform.metadata.MetadataModule in project copybara by google.
the class ModuleSupplier method getModules.
/**
* Get non-static modules available
*/
public ImmutableSet<Object> getModules(Options options) {
GeneralOptions general = options.get(GeneralOptions.class);
FolderModule folderModule = new FolderModule(options.get(FolderOriginOptions.class), options.get(FolderDestinationOptions.class), general);
return ImmutableSet.of(new Core(general, options.get(WorkflowOptions.class), options.get(DebugOptions.class), folderModule), new GitModule(options), new HgModule(options), folderModule, new FormatModule(options.get(WorkflowOptions.class), options.get(BuildifierOptions.class), general), new BuildozerModule(options.get(WorkflowOptions.class), options.get(BuildozerOptions.class)), new PatchModule(options.get(PatchingOptions.class)), new MetadataModule(), new Authoring.Module(console), new RemoteFileModule(options));
}
Aggregations