Class AndroidCheckstylePlugin
- java.lang.Object
-
- io.freefair.gradle.plugins.android.AndroidProjectPlugin
-
- io.freefair.gradle.plugins.android.quality.AndroidCodeQualityHelper
-
- io.freefair.gradle.plugins.android.quality.AbstractAndroidCodeQualityPlugin<T,SourceSetBasedCodeQualityExtension>
-
- io.freefair.gradle.plugins.android.quality.SourceSetBasedCodeQualityPlugin<Checkstyle>
-
- io.freefair.gradle.plugins.android.quality.AndroidCheckstylePlugin
-
public class AndroidCheckstylePlugin extends SourceSetBasedCodeQualityPlugin<Checkstyle>
Copy ofCheckstylePlugin
which- extends
AbstractAndroidCodeQualityPlugin
instead ofAbstractCodeQualityPlugin
- uses
AndroidSourceSets
instead ofJavaSourceSets
- See Also:
CheckstylePlugin
,AbstractAndroidCodeQualityPlugin
- extends
-
-
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
project
-
-
Constructor Summary
Constructors Constructor Description AndroidCheckstylePlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configureConfiguration(Configuration configuration)
protected void
configureForSourceSet(com.android.build.api.dsl.AndroidSourceSet sourceSet, Checkstyle task)
protected void
configureTaskDefaults(Checkstyle task, String baseName)
protected SourceSetBasedCodeQualityExtension
createExtension()
protected Class<Checkstyle>
getTaskType()
protected String
getToolName()
-
Methods inherited from class io.freefair.gradle.plugins.android.quality.SourceSetBasedCodeQualityPlugin
getAllJava, getAllVariants, getCompileClasspath, getExtensionElementsCallable, getExtensionElementsName, getOutput, getTaskName, withAndroid
-
Methods inherited from class io.freefair.gradle.plugins.android.quality.AbstractAndroidCodeQualityPlugin
apply, beforeApply, conventionMappingOf, createConfigurations, getBasePlugin, getConfigurationName, getJavaPluginConvention, getReportName, getTaskBaseName, withBasePlugin
-
Methods inherited from class io.freefair.gradle.plugins.android.AndroidProjectPlugin
getAllJava, getAndroidExtension, getAndroidVariants, getCompileClasspath, getOutput, getProject, getProjectType, getTaskName, getTestVariants, getUnitTestVariants, publishVariant
-
-
-
-
Method Detail
-
getToolName
protected String getToolName()
- Specified by:
getToolName
in classAbstractAndroidCodeQualityPlugin<Checkstyle,SourceSetBasedCodeQualityExtension>
-
getTaskType
protected Class<Checkstyle> getTaskType()
- Specified by:
getTaskType
in classAbstractAndroidCodeQualityPlugin<Checkstyle,SourceSetBasedCodeQualityExtension>
-
createExtension
protected SourceSetBasedCodeQualityExtension createExtension()
- Specified by:
createExtension
in classAbstractAndroidCodeQualityPlugin<Checkstyle,SourceSetBasedCodeQualityExtension>
-
configureConfiguration
protected void configureConfiguration(Configuration configuration)
- Specified by:
configureConfiguration
in classAbstractAndroidCodeQualityPlugin<Checkstyle,SourceSetBasedCodeQualityExtension>
-
configureTaskDefaults
protected void configureTaskDefaults(Checkstyle task, String baseName)
- Specified by:
configureTaskDefaults
in classAbstractAndroidCodeQualityPlugin<Checkstyle,SourceSetBasedCodeQualityExtension>
-
configureForSourceSet
protected void configureForSourceSet(com.android.build.api.dsl.AndroidSourceSet sourceSet, Checkstyle task)
- Specified by:
configureForSourceSet
in classSourceSetBasedCodeQualityPlugin<Checkstyle>
-
-