com.jcandksolutions.gradle.androidunittest
[Groovy] Class AppHandler
java.lang.Object
com.jcandksolutions.gradle.androidunittest.MainHandler
com.jcandksolutions.gradle.androidunittest.AppHandler
class AppHandler
extends MainHandler
Class that handles the extra configuration when the app plugin is applied.
AppHandler
AppHandler(DependencyProvider provider)
- Instantiates a new AppHandler.
- Parameters:
provider - The Dependency Provider for the plugin.
createVariantWrapper
@Override
protected VariantWrapper createVariantWrapper(BaseVariant variant)
- Creates a new VariantWrapper instance special for AppVariants.
- Returns:
- The wrapper.
- Parameters:
variant - The AppVariant to wrap.
isVariantInvalid
@Override
protected boolean isVariantInvalid(BaseVariant baseVariant)
- Checks if the variant is invalid. For AppVariants, they are always valid.
- Returns:
- Always false.
- Parameters:
baseVariant - The Variant to check.
Groovy Documentation