Groovy Documentation

com.jcandksolutions.gradle.androidunittest
[Groovy] Class AndroidUnitTestPluginExtension

java.lang.Object
  com.jcandksolutions.gradle.androidunittest.AndroidUnitTestPluginExtension

class AndroidUnitTestPluginExtension

Class that handles the extension of the plugin for configuration.


Method Summary
boolean getTestReleaseBuildType()

Retrieves the TestReleaseBuildType property which enables testing if release build types.

boolean isDownloadDependenciesJavadoc()

Retrieves the DownloadDependenciesJavadoc property which enables the download of the Javadoc of the app dependencies.

boolean isDownloadDependenciesSources()

Retrieves the DownloadDependenciesSources property which enables the download of the sources of the app dependencies.

boolean isDownloadTestDependenciesJavadoc()

Retrieves the DownloadTestDependenciesJavadoc property which enables the download of the Javadoc of the tests dependencies.

boolean isDownloadTestDependenciesSources()

Retrieves the DownloadTestDependenciesSources property which enables the download of the sources of the tests dependencies.

void setDownloadDependenciesJavadoc(boolean value)

Sets the DownloadDependenciesJavadoc property which enables the download of the Javadoc of the app dependencies.

void setDownloadDependenciesSources(boolean value)

Sets the DownloadDependenciesSources property which enables the download of the sources of the app dependencies.

void setDownloadTestDependenciesJavadoc(boolean value)

Sets the DownloadTestDependenciesJavadoc property which enables the download of the Javadoc of the tests dependencies.

void setDownloadTestDependenciesSources(boolean value)

Sets the DownloadTestDependenciesSources property which enables the download of the sources of the tests dependencies.

void setTestReleaseBuildType(boolean value)

Sets the TestReleaseBuildType property which enables testing if release build types.

 
Methods inherited from 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()
 

Method Detail

getTestReleaseBuildType

boolean getTestReleaseBuildType()
Retrieves the TestReleaseBuildType property which enables testing if release build types. Only works on App projects, not library projects.
Returns:
true if property enabled, false otherwise.


isDownloadDependenciesJavadoc

boolean isDownloadDependenciesJavadoc()
Retrieves the DownloadDependenciesJavadoc property which enables the download of the Javadoc of the app dependencies.
Returns:
true if property enabled, false otherwise.


isDownloadDependenciesSources

boolean isDownloadDependenciesSources()
Retrieves the DownloadDependenciesSources property which enables the download of the sources of the app dependencies.
Returns:
true if property enabled, false otherwise.


isDownloadTestDependenciesJavadoc

boolean isDownloadTestDependenciesJavadoc()
Retrieves the DownloadTestDependenciesJavadoc property which enables the download of the Javadoc of the tests dependencies.
Returns:
true if property enabled, false otherwise.


isDownloadTestDependenciesSources

boolean isDownloadTestDependenciesSources()
Retrieves the DownloadTestDependenciesSources property which enables the download of the sources of the tests dependencies.
Returns:
true if property enabled, false otherwise.


setDownloadDependenciesJavadoc

void setDownloadDependenciesJavadoc(boolean value)
Sets the DownloadDependenciesJavadoc property which enables the download of the Javadoc of the app dependencies.
Parameters:
value - The value to set.


setDownloadDependenciesSources

void setDownloadDependenciesSources(boolean value)
Sets the DownloadDependenciesSources property which enables the download of the sources of the app dependencies.
Parameters:
value - The value to set.


setDownloadTestDependenciesJavadoc

void setDownloadTestDependenciesJavadoc(boolean value)
Sets the DownloadTestDependenciesJavadoc property which enables the download of the Javadoc of the tests dependencies.
Parameters:
value - The value to set.


setDownloadTestDependenciesSources

void setDownloadTestDependenciesSources(boolean value)
Sets the DownloadTestDependenciesSources property which enables the download of the sources of the tests dependencies.
Parameters:
value - The value to set.


setTestReleaseBuildType

void setTestReleaseBuildType(boolean value)
Sets the TestReleaseBuildType property which enables testing if release build types. Only works on App projects, not library projects.
Parameters:
value - The value to set.


 

Groovy Documentation