CanMinifyCode

@Incubating
public interface CanMinifyCode

Known direct subclasses
ApplicationVariant

Properties for the main Variant of an application.

LibraryVariant

Variant for Library projects


Interface for component that can minify code

Summary

Public methods

abstract boolean

Specifies whether code will be minified.

Public methods

isMinifyEnabled

abstract boolean isMinifyEnabled()

Specifies whether code will be minified. At this point the value is final. You can change it via AndroidComponentsExtension.beforeVariants and CanMinifyCodeBuilder.isMinifyEnabled