| Type | Name and description |
|---|---|
java.lang.String |
buildIdA unique ID for each Gradle build, used to collect analytics data together for each build. |
java.lang.Boolean |
cleanFilesWhen true, the producer task will delete all the JSON data files upon completion. |
java.lang.Boolean |
compressFilesWhen true, the producer task will compress all the JSON data files upon completion. |
java.lang.String |
dataDirNameThe name to use for the analytics data directory inside the Gradle build directory. |
java.lang.String |
hostnameThe hostname of the environment executing Gradle builds. |
java.lang.Boolean |
ignoreErrorsDetermines whether errors in producing data to sinks should be ignored. |
java.lang.String |
organizationThe organization name for Gradle Analytics. |
java.lang.String |
tasksFileNameThe name to use for the task JSON data file. |
java.lang.String |
testOutputFileNameThe name to use for the testoutput JSON data file. |
java.lang.String |
testsFileNameThe name to use for the test JSON data file. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.io.File |
getAnalyticsBaseDir(java.io.File buildDir)Returns the base directory where JSON analytic data files are generated. |
|
java.io.File |
getAnalyticsDir(java.io.File buildDir)Returns the specific directory where JSON analytic data files are generated. |
|
java.io.File |
getTasksFile(java.io.File buildDir)Returns the task JSON data file. |
|
java.io.File |
getTestOutputFile(java.io.File buildDir)Returns the testOutput JSON data file. |
|
java.io.File |
getTestsFile(java.io.File buildDir)Returns the test JSON data file. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
A unique ID for each Gradle build, used to collect analytics data together for each build.
The default value is the current timestamp in the format of 'YYYY-MM-DD-HHMMSSIII'. The buildId can be overridden using CI server Job IDs, for instance.
When true, the producer task will delete all the JSON data files upon completion.
When true, the producer task will compress all the JSON data files upon completion.
The name to use for the analytics data directory inside the Gradle build directory.
The hostname of the environment executing Gradle builds. Java is used to pull the current hostname as a default.
Determines whether errors in producing data to sinks should be ignored.
The organization name for Gradle Analytics.
"organization" is added to the JSON data files to enable segmentation of data across different organizations.
The name to use for the task JSON data file.
The name to use for the testoutput JSON data file.
The name to use for the test JSON data file.
Returns the base directory where JSON analytic data files are generated.
The analytics base directory is in the Gradle build directory.
buildDir - The Gradle build directoryReturns the specific directory where JSON analytic data files are generated.
The analytics directory is in the Gradle build directory, and is dependent on the buildId.
buildDir - The Gradle build directory Returns the task JSON data file.
The task JSON data file contains task-level information about the Gradle build.
buildDir - The Gradle build directorytask JSON data file Returns the testOutput JSON data file.
The testOutput JSON data file contains the standard output generated by each unit test.
buildDir - The Gradle build directorytestOutput JSON data file Returns the test JSON data file.
The test JSON data file contains information about each unit test.
buildDir - The Gradle build directorytest JSON data file