- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for subheading (0.17 sec)
-
subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/AbstractReportTaskIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 30 18:37:41 UTC 2021 - 3.1K bytes - Viewed (0) -
subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/text/TextReportBuilder.java
public interface TextReportBuilder { /** * Outputs the heading for the current item. This should be called before any of the {@code item} methods are called. */ void heading(String heading); void subheading(String heading); <T> void collection(String title, Collection<? extends T> items, ReportRenderer<T, TextReportBuilder> renderer, String elementsPlural);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 30 23:30:16 UTC 2016 - 1.6K bytes - Viewed (0) -
subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/internal/text/DefaultTextReportBuilderTest.groovy
{header}------------------------------------------------------------ heading ------------------------------------------------------------{normal} """ } def "formats subheading"() { given: builder.subheading("heading") expect: output.value == """{header}heading -------{normal} """ } def "formats top-level item with structured value"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 12 07:56:08 UTC 2021 - 8.4K bytes - Viewed (0) -
subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/TaskReportRenderer.java
} } private void addSubheading(String header) { if (hasContent) { getTextOutput().println(); } hasContent = true; getBuilder().subheading(header); } /** * Marks the end of the tasks for the current project. */ public void completeTasks() { if (!currentProjectHasTasks) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 29 11:53:41 UTC 2021 - 5K bytes - Viewed (0) -
subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/text/DefaultTextReportBuilder.java
} else { textOutput.println(heading); textOutput = new LinePrefixingStyledTextOutput(textOutput, INDENT); } depth++; } @Override public void subheading(String heading) { writeSubheading(heading); if (depth == 0) { depth = 1; } } private void writeSubheading(String heading) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 08 05:52:01 UTC 2020 - 5.7K bytes - Viewed (0)