public class GenerateTestConfig
extends org.gradle.api.DefaultTask
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.ConfigAction |
| Constructor and Description |
|---|
GenerateTestConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
generateTestConfig() |
java.lang.String |
getAssets() |
java.io.File |
getOutputFile() |
java.lang.String |
getPackageForR() |
java.lang.String |
getResourcesDirectory() |
java.lang.String |
getSdkHome() |
newInputDirectory, newInputFile, newOutputDirectory, newOutputFileaddValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doFirst, doLast, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toStringpublic void generateTestConfig()
throws java.io.IOException
java.io.IOException@Input public java.lang.String getResourcesDirectory()
@Input public java.lang.String getAssets()
@Input public java.lang.String getSdkHome()
@OutputDirectory public java.io.File getOutputFile()
@Input public java.lang.String getPackageForR()