Optimization

@Incubating
public interface Optimization


DSL object for configurations aimed for optimizing build process(e.g. speed, correctness). This DSL object is applicable to buildTypes and productFlavors.

Summary

Public methods

abstract void

Configure baseline profile properties

abstract void

Configure keep rules inherited from external library dependencies

Public methods

baselineProfile

@Incubating
abstract void baselineProfile(
    @ExtensionFunctionType @NonNull Function1<@NonNull BaselineProfileUnit> action
)

Configure baseline profile properties

keepRules

@Incubating
abstract void keepRules(
    @ExtensionFunctionType @NonNull Function1<@NonNull KeepRulesUnit> action
)

Configure keep rules inherited from external library dependencies