public class ApplicationVariantFactory extends Object
Constructor and description |
---|
ApplicationVariantFactory
(BasePlugin basePlugin) |
Type | Name and description |
---|---|
static void |
createApkOutputApiObjects(BasePlugin basePlugin, BaseVariantData<? extends BaseVariantOutputData> variantData, ApkVariantImpl variant) |
void |
createTasks(BaseVariantData<?> variantData, org.gradle.api.Task assembleTask) Creates the tasks for a given ApplicationVariantData. |
BaseVariant |
createVariantApi(BaseVariantData<? extends BaseVariantOutputData> variantData, ReadOnlyObjectProvider readOnlyObjectProvider) |
ApplicationVariantData |
createVariantData(GradleVariantConfiguration variantConfiguration, Set<String> densities, Set<String> abis, Set<String> compatibleScreens) |
Type |
getVariantConfigurationType() |
boolean |
isLibrary() |
void |
validateModel(VariantModel model) |
Creates the tasks for a given ApplicationVariantData.
variantData
- the non-null ApplicationVariantData.assembleTask
- an optional assembleTask to be used. If null, a new one is created.