Reporting Extension
A project extension named "reporting" that provides basic reporting settings and utilities.
Example usage:
plugins {
id("org.gradle.reporting-base")
}
reporting {
// change the base directory where all reports are generated
baseDirectory = layout.buildDirectory.dir("our-reports")
}
// A directory for test reports
reporting.baseDirectory.dir("test-reports")
// A report file
reporting.baseDirectory.file("index.html")
Content copied to clipboard
When implementing a task that produces reports, the location of where to generate reports should be obtained from getBaseDirectory.
Properties
Link copied to clipboard
The default name of the base directory for all reports, relative to getBuildDirectory ({@value}).
Functions
Link copied to clipboard
Creates a file object for the given path, relative to getBaseDirectory.
Link copied to clipboard
Provides a default title for API documentation based on the project's name and version.
Link copied to clipboard
Returns base directory property to use for all reports.
Link copied to clipboard
Container for aggregation reports, which may be configured automatically in reaction to the presence of the jvm-test-suite plugin.
Link copied to clipboard
Add more reports or configure the available reports.