Java Code Examples for org.gradle.api.tasks.diagnostics.internal.text.TextReportBuilder#subheading()
The following examples show how to use
org.gradle.api.tasks.diagnostics.internal.text.TextReportBuilder#subheading() .
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: ComponentRenderer.java From pushfish-android with BSD 2-Clause "Simplified" License | 5 votes |
@Override public void render(ComponentSpec component, TextReportBuilder builder) { builder.subheading(StringUtils.capitalize(component.getDisplayName())); builder.getOutput().println(); builder.collection("Source sets", component.getSource(), sourceSetRenderer, "source sets"); builder.getOutput().println(); builder.collection("Binaries", CollectionUtils.sort(component.getBinaries(), new Comparator<BinarySpec>() { public int compare(BinarySpec binary1, BinarySpec binary2) { return binary1.getName().compareTo(binary2.getName()); } }), renderer, "binaries"); }
Example 2
Source File: ComponentRenderer.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 5 votes |
@Override public void render(ComponentSpec component, TextReportBuilder builder) { builder.subheading(StringUtils.capitalize(component.getDisplayName())); builder.getOutput().println(); builder.collection("Source sets", component.getSource(), sourceSetRenderer, "source sets"); builder.getOutput().println(); builder.collection("Binaries", CollectionUtils.sort(component.getBinaries(), new Comparator<BinarySpec>() { public int compare(BinarySpec binary1, BinarySpec binary2) { return binary1.getName().compareTo(binary2.getName()); } }), renderer, "binaries"); }