Reporting Extension
A project extension named "reporting" that provides basic reporting settings and utilities.
Example usage:
reporting {
baseDir "$buildDir/our-reports"
}
Content copied to clipboard
When implementing a task that produces reports, the location of where to generate reports should be obtained via the file method of this extension.
Properties
Link copied to clipboard
Link copied to clipboard
The default name of the base directory for all reports, relative to getBuildDir ({@value}).
Link copied to clipboard
Functions
Link copied to clipboard
Creates a file object for the given path, relative to getBaseDir.
Link copied to clipboard
Link copied to clipboard
The base directory for all reports This value can be changed, so any files derived from this should be calculated on demand.
Link copied to clipboard
Sets the base directory to use for all reports
Sets the base directory to use for all reports The value will be converted to a
File
on demand via file.