KmpOptimization

@Incubating interface KmpOptimization


DSL object for configurations aimed for optimizing build process(e.g. speed, correctness)

Summary

Public properties

ConsumerKeepRules

The collection of keep rule files for consumers of the library to use.

LibraryKeepRules

The collection of keep rule files that the plugin should use when optimizing the AAR

Boolean

Specifies whether to enable code shrinking for this build type.

ConfigurableFiles

The collection of keep rule files to use for the test APK.

Public properties

consumerKeepRules

val consumerKeepRulesConsumerKeepRules

The collection of keep rule files for consumers of the library to use.

keepRules

val keepRulesLibraryKeepRules

The collection of keep rule files that the plugin should use when optimizing the AAR

minify

var minifyBoolean

Specifies whether to enable code shrinking for this build type.

By default, when you enable code shrinking by setting this property to true, the Android plugin uses ProGuard.

To learn more, read Shrink Your Code and Resources.

testKeepRules

val testKeepRulesConfigurableFiles

The collection of keep rule files to use for the test APK.