CanMinifyCode

Added in 7.4.1

@Incubating
interface CanMinifyCode

Known direct subclasses
ApplicationVariant

Model for application components that only contains build-time properties.

LibraryVariant

Model for library components that only contains build-time properties.


Build-time properties for Component that can minify code.

Summary

Public properties

Boolean

Specifies whether code will be minified.

Public properties

isMinifyEnabled

Added in 7.4.1
val isMinifyEnabledBoolean

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