base 'android' extension for plugins that have a test component.
Fields inherited from class | Fields |
---|---|
class BaseExtension |
logger, project |
Type | Name and description |
---|---|
String |
testBuildType |
Constructor and description |
---|
TestedExtension
(org.gradle.api.internal.project.ProjectInternal project, org.gradle.internal.reflect.Instantiator instantiator, AndroidBuilder androidBuilder, SdkHandler sdkHandler, org.gradle.api.NamedDomainObjectContainer<BuildType> buildTypes, org.gradle.api.NamedDomainObjectContainer<GroupableProductFlavor> productFlavors, org.gradle.api.NamedDomainObjectContainer<SigningConfig> signingConfigs, ExtraModelInfo extraModelInfo, boolean isLibrary) |
Type | Name and description |
---|---|
void |
addTestVariant(TestVariant testVariant) |
org.gradle.api.internal.DefaultDomainObjectSet<TestVariant> |
getTestVariants() Returns the list of test variants. |
Returns the list of test variants. Since the collections is built after evaluation,
it should be used with Groovy's all
iterator to process future items.
Gradle API 1.2.0