org.gradle.api.tasks.diagnostics.internal.ReportRenderer Java Examples

The following examples show how to use org.gradle.api.tasks.diagnostics.internal.ReportRenderer. 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: AbstractReportTask.java    From pushfish-android with BSD 2-Clause "Simplified" License 6 votes vote down vote up
@TaskAction
public void generate() {
    try {
        ReportRenderer renderer = getRenderer();
        File outputFile = getOutputFile();
        if (outputFile != null) {
            renderer.setOutputFile(outputFile);
        } else {
            renderer.setOutput(getTextOutputFactory().create(getClass()));
        }
        Set<Project> projects = new TreeSet<Project>(getProjects());
        for (Project project : projects) {
            renderer.startProject(project);
            generate(project);
            renderer.completeProject(project);
        }
        renderer.complete();
    } catch (IOException e) {
        throw new UncheckedIOException(e);
    }
}
 
Example #2
Source File: AbstractReportTask.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 6 votes vote down vote up
@TaskAction
public void generate() {
    try {
        ReportRenderer renderer = getRenderer();
        File outputFile = getOutputFile();
        if (outputFile != null) {
            renderer.setOutputFile(outputFile);
        } else {
            renderer.setOutput(getServices().get(StyledTextOutputFactory.class).create(getClass()));
        }
        Set<Project> projects = new TreeSet<Project>(getProjects());
        for (Project project : projects) {
            renderer.startProject(project);
            generate(project);
            renderer.completeProject(project);
        }
        renderer.complete();
    } catch (IOException e) {
        throw new UncheckedIOException(e);
    }
}
 
Example #3
Source File: AbstractReportTask.java    From pushfish-android with BSD 2-Clause "Simplified" License 6 votes vote down vote up
@TaskAction
public void generate() {
    try {
        ReportRenderer renderer = getRenderer();
        File outputFile = getOutputFile();
        if (outputFile != null) {
            renderer.setOutputFile(outputFile);
        } else {
            renderer.setOutput(getServices().get(StyledTextOutputFactory.class).create(getClass()));
        }
        Set<Project> projects = new TreeSet<Project>(getProjects());
        for (Project project : projects) {
            renderer.startProject(project);
            generate(project);
            renderer.completeProject(project);
        }
        renderer.complete();
    } catch (IOException e) {
        throw new UncheckedIOException(e);
    }
}
 
Example #4
Source File: AbstractReportTask.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 6 votes vote down vote up
@TaskAction
public void generate() {
    try {
        ReportRenderer renderer = getRenderer();
        File outputFile = getOutputFile();
        if (outputFile != null) {
            renderer.setOutputFile(outputFile);
        } else {
            renderer.setOutput(getTextOutputFactory().create(getClass()));
        }
        Set<Project> projects = new TreeSet<Project>(getProjects());
        for (Project project : projects) {
            renderer.startProject(project);
            generate(project);
            renderer.completeProject(project);
        }
        renderer.complete();
    } catch (IOException e) {
        throw new UncheckedIOException(e);
    }
}
 
Example #5
Source File: DependencyReportTask.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public ReportRenderer getRenderer() {
    return renderer;
}
 
Example #6
Source File: PropertyReportTask.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public ReportRenderer getRenderer() {
    return renderer;
}
 
Example #7
Source File: PropertyReportTask.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public ReportRenderer getRenderer() {
    return renderer;
}
 
Example #8
Source File: DependencyReportTask.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public ReportRenderer getRenderer() {
    return renderer;
}
 
Example #9
Source File: PropertyReportTask.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public ReportRenderer getRenderer() {
    return renderer;
}
 
Example #10
Source File: SourceSetsTask.java    From javaide with GNU General Public License v3.0 4 votes vote down vote up
@Override
protected ReportRenderer getRenderer() {
    return mRenderer;
}
 
Example #11
Source File: AbstractReportTask.java    From javaide with GNU General Public License v3.0 4 votes vote down vote up
@Internal
protected abstract ReportRenderer getRenderer();
 
Example #12
Source File: DependencyReportTask.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public ReportRenderer getRenderer() {
    return renderer;
}
 
Example #13
Source File: PropertyReportTask.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public ReportRenderer getRenderer() {
    return renderer;
}
 
Example #14
Source File: DependencyReportTask.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public ReportRenderer getRenderer() {
    return renderer;
}
 
Example #15
Source File: AbstractReportTask.java    From Pushjet-Android with BSD 2-Clause "Simplified" License votes vote down vote up
protected abstract ReportRenderer getRenderer(); 
Example #16
Source File: AbstractReportTask.java    From pushfish-android with BSD 2-Clause "Simplified" License votes vote down vote up
protected abstract ReportRenderer getRenderer(); 
Example #17
Source File: AbstractReportTask.java    From Pushjet-Android with BSD 2-Clause "Simplified" License votes vote down vote up
protected abstract ReportRenderer getRenderer(); 
Example #18
Source File: AbstractReportTask.java    From pushfish-android with BSD 2-Clause "Simplified" License votes vote down vote up
protected abstract ReportRenderer getRenderer();