A CircularReferenceException is thrown if circular references exists between tasks, the project evaluation order or the project dependsOn order.
CircularReferenceException
387388389390391392393
} } }); StringWriter writer = new StringWriter(); graphRenderer.renderTo(firstCycle.get(0), writer); throw new CircularReferenceException(String.format("Circular dependency between the following tasks:%n%s", writer.toString())); }