Class VariantBasedCodeQualityPlugin<T extends Task>
- java.lang.Object
-
- io.freefair.gradle.plugins.android.AndroidProjectPlugin
-
- io.freefair.gradle.plugins.android.quality.AndroidCodeQualityHelper
-
- io.freefair.gradle.plugins.android.quality.AbstractAndroidCodeQualityPlugin<T,VariantBasedCodeQualityExtension>
-
- io.freefair.gradle.plugins.android.quality.VariantBasedCodeQualityPlugin<T>
-
public abstract class VariantBasedCodeQualityPlugin<T extends Task> extends AbstractAndroidCodeQualityPlugin<T,VariantBasedCodeQualityExtension>
- See Also:
AbstractCodeQualityPlugin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.freefair.gradle.plugins.android.AndroidProjectPlugin
AndroidProjectPlugin.ProjectType
-
-
Field Summary
-
Fields inherited from class io.freefair.gradle.plugins.android.quality.AbstractAndroidCodeQualityPlugin
extension, project
-
-
Constructor Summary
Constructors Constructor Description VariantBasedCodeQualityPlugin()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
configureForVariant(BaseVariant sourceSet, T task)
protected Callable<Collection<?>>
getExtensionElementsCallable()
protected String
getExtensionElementsName()
protected void
withAndroid(TestedExtension extension)
-
Methods inherited from class io.freefair.gradle.plugins.android.quality.AbstractAndroidCodeQualityPlugin
apply, beforeApply, configureConfiguration, configureTaskDefaults, conventionMappingOf, createConfigurations, createExtension, getBasePlugin, getConfigurationName, getJavaPluginConvention, getReportName, getTaskBaseName, getTaskType, getToolName, withBasePlugin
-
Methods inherited from class io.freefair.gradle.plugins.android.AndroidProjectPlugin
getAllJava, getAndroidExtension, getAndroidVariants, getCompileClasspath, getOutput, getProject, getProjectType, getTaskName, getTestVariants, getUnitTestVariants, publishVariant
-
-
-
-
Method Detail
-
withAndroid
protected void withAndroid(TestedExtension extension)
- Overrides:
withAndroid
in classAndroidProjectPlugin
-
getExtensionElementsName
protected String getExtensionElementsName()
- Specified by:
getExtensionElementsName
in classAbstractAndroidCodeQualityPlugin<T extends Task,VariantBasedCodeQualityExtension>
-
getExtensionElementsCallable
protected Callable<Collection<?>> getExtensionElementsCallable()
- Specified by:
getExtensionElementsCallable
in classAbstractAndroidCodeQualityPlugin<T extends Task,VariantBasedCodeQualityExtension>
-
configureForVariant
protected abstract void configureForVariant(BaseVariant sourceSet, T task)
-
-