Class AbstractAndroidCodeQualityPlugin<T extends Task,E extends AndroidCodeQualityExtension>
- java.lang.Object
-
- io.freefair.gradle.plugins.android.AndroidProjectPlugin
-
- io.freefair.gradle.plugins.android.quality.AndroidCodeQualityHelper
-
- io.freefair.gradle.plugins.android.quality.AbstractAndroidCodeQualityPlugin<T,E>
-
- Direct Known Subclasses:
SourceSetBasedCodeQualityPlugin
,VariantBasedCodeQualityPlugin
public abstract class AbstractAndroidCodeQualityPlugin<T extends Task,E extends AndroidCodeQualityExtension> extends AndroidCodeQualityHelper
- See Also:
AbstractCodeQualityPlugin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.freefair.gradle.plugins.android.AndroidProjectPlugin
AndroidProjectPlugin.ProjectType
-
-
Constructor Summary
Constructors Constructor Description AbstractAndroidCodeQualityPlugin()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
apply(Project project)
protected void
beforeApply()
protected abstract void
configureConfiguration(Configuration configuration)
protected abstract void
configureTaskDefaults(T task, String baseName)
protected static org.gradle.api.internal.ConventionMapping
conventionMappingOf(Object object)
protected void
createConfigurations()
protected abstract E
createExtension()
protected Class<? extends Plugin<? extends Project>>
getBasePlugin()
protected String
getConfigurationName()
protected abstract Callable<Collection<?>>
getExtensionElementsCallable()
protected abstract String
getExtensionElementsName()
protected JavaPluginConvention
getJavaPluginConvention()
protected String
getReportName()
protected String
getTaskBaseName()
protected abstract Class<T>
getTaskType()
protected abstract String
getToolName()
protected void
withBasePlugin(Action<Plugin<?>> action)
-
Methods inherited from class io.freefair.gradle.plugins.android.AndroidProjectPlugin
getAllJava, getAndroidExtension, getAndroidVariants, getCompileClasspath, getOutput, getProject, getProjectType, getTaskName, getTestVariants, getUnitTestVariants, publishVariant, withAndroid
-
-
-
-
Field Detail
-
project
protected Project project
-
extension
protected E extends AndroidCodeQualityExtension extension
-
-
Method Detail
-
conventionMappingOf
protected static org.gradle.api.internal.ConventionMapping conventionMappingOf(Object object)
-
apply
public final void apply(Project project)
-
getToolName
protected abstract String getToolName()
-
getTaskBaseName
protected String getTaskBaseName()
-
getConfigurationName
protected String getConfigurationName()
-
getReportName
protected String getReportName()
-
beforeApply
protected void beforeApply()
-
createConfigurations
protected void createConfigurations()
-
configureConfiguration
protected abstract void configureConfiguration(Configuration configuration)
-
createExtension
protected abstract E createExtension()
-
getExtensionElementsName
protected abstract String getExtensionElementsName()
-
getExtensionElementsCallable
protected abstract Callable<Collection<?>> getExtensionElementsCallable()
-
getJavaPluginConvention
protected JavaPluginConvention getJavaPluginConvention()
-
-