|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gradle.api.reporting.ReportingExtension
public class ReportingExtension
Adds base configuration for reporting tasks. Example usage:
reporting { baseDir "$buildDir/our-reports" }
Field Summary | |
---|---|
static String |
DEFAULT_REPORTS_DIR_NAME
The default name of the base directory for all reports, relative to Project.getBuildDir ({@value}). |
static String |
NAME
The name of this extension ("{@value}") |
Constructor Summary | |
ReportingExtension(Project project)
|
Method Summary | |
---|---|
File
|
file(String path)
Creates a file object for the given path, relative to getBaseDir(). |
String
|
getApiDocTitle()
|
File
|
getBaseDir()
The base directory for all reports |
void
|
setBaseDir(Object baseDir)
Sets the base directory to use for all reports |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
public static final String DEFAULT_REPORTS_DIR_NAME
public static final String NAME
Constructor Detail |
---|
public ReportingExtension(Project project)
Method Detail |
---|
public File file(String path)
path
- the relative path
public String getApiDocTitle()
public File getBaseDir()
public void setBaseDir(Object baseDir)
baseDir
- The base directory to use for all reports
Gradle API 1.0