public class ReportingExtension
extends java.lang.Object
Example usage:
 reporting {
     baseDir "$buildDir/our-reports"
 }
 
 
 When implementing a task that produces reports, the location of where to generate reports should be obtained
 via the file(String) method of this extension.
| Modifier and Type | Field | Description | 
|---|---|---|
| static java.lang.String | DEFAULT_REPORTS_DIR_NAME | The default name of the base directory for all reports, relative to  Project.getBuildDir()("reports"). | 
| static java.lang.String | NAME | The name of this extension (""reporting"") | 
| Constructor | Description | 
|---|---|
| ReportingExtension(Project project) | 
| Modifier and Type | Method | Description | 
|---|---|---|
| java.io.File | file(java.lang.String path) | Creates a file object for the given path, relative to  getBaseDir(). | 
| java.lang.String | getApiDocTitle() | |
| java.io.File | getBaseDir() | The base directory for all reports | 
| DirectoryProperty | getBaseDirectory() | Returns base directory property to use for all reports. | 
| void | setBaseDir(java.io.File baseDir) | Sets the base directory to use for all reports | 
| void | setBaseDir(java.lang.Object baseDir) | Sets the base directory to use for all reports | 
public static final java.lang.String NAME
public static final java.lang.String DEFAULT_REPORTS_DIR_NAME
Project.getBuildDir() ("reports").public ReportingExtension(Project project)
public java.io.File getBaseDir()
This value can be changed, so any files derived from this should be calculated on demand.
public void setBaseDir(java.io.File baseDir)
baseDir - The base directory to use for all reportspublic void setBaseDir(java.lang.Object baseDir)
 The value will be converted to a File on demand via Project.file(Object).
baseDir - The base directory to use for all reports@Incubating public DirectoryProperty getBaseDirectory()
public java.io.File file(java.lang.String path)
getBaseDir().
 The reporting base dir can be changed, so users of this method should use it on demand where appropriate.
path - the relative pathgetBaseDir()public java.lang.String getApiDocTitle()