public class GenerateTestConfig
extends com.android.build.gradle.internal.tasks.AndroidVariantTask
test_config.properties
file that is put on the classpath for running unit
tests.
See DSL documentation in TestOptions.UnitTestOptions#isIncludeAndroidResources()
Modifier and Type | Class and Description |
---|---|
static class |
GenerateTestConfig.CreationAction |
Constructor and Description |
---|
GenerateTestConfig() |
Modifier and Type | Method and Description |
---|---|
void |
generateTestConfig() |
java.lang.String |
getAssets() |
java.lang.String |
getCompiledResourcesZip() |
com.android.ide.common.build.ApkInfo |
getMainApkInfo() |
org.gradle.api.provider.Provider<org.gradle.api.file.Directory> |
getManifests() |
java.io.File |
getOutputFile() |
java.lang.String |
getPackageForR() |
java.lang.String |
getResourcesDirectory() |
java.lang.String |
getSdkHome() |
getVariantName, setVariantName
newInputDirectory, newInputFile, newOutputDirectory, newOutputFile
appendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString
@Input public com.android.ide.common.build.ApkInfo getMainApkInfo()
@InputFiles public org.gradle.api.provider.Provider<org.gradle.api.file.Directory> getManifests()
public void generateTestConfig() throws java.io.IOException
java.io.IOException
@Input @Optional public java.lang.String getResourcesDirectory()
@Input public java.lang.String getAssets()
@Input public java.lang.String getSdkHome()
@Optional @Input public java.lang.String getCompiledResourcesZip()
@OutputDirectory public java.io.File getOutputFile()
@Input public java.lang.String getPackageForR()