Optimization

Added in 7.3.0

@Incubating
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 functions

Unit

Configure baseline profile properties

Unit

Configure keep rules inherited from external library dependencies

Public functions

baselineProfile

Added in 8.2.0
@Incubating
fun baselineProfile(action: BaselineProfile.() -> Unit): Unit

Configure baseline profile properties

keepRules

Added in 7.3.0
@Incubating
fun keepRules(action: KeepRules.() -> Unit): Unit

Configure keep rules inherited from external library dependencies