use of org.itsallcode.openfasttrace.gradle.task.TraceTask in project openfasttrace-gradle by itsallcode.
the class OpenFastTracePlugin method createTracingTask.
private void createTracingTask(Project project) {
final TraceTask traceTask = createTask(project, "traceRequirements", TraceTask.class);
traceTask.setGroup(TASK_GROUP_NAME);
traceTask.setDescription("Trace requirements and generate tracing report");
final TracingConfig config = getConfig(project);
traceTask.inputDirectories.setFrom(config.inputDirectories);
traceTask.outputFile.set(config.reportFile);
traceTask.reportVerbosity.set(config.reportVerbosity);
traceTask.pathConfig = () -> getPathConfigFromRootProject(project.getAllprojects());
}
Aggregations