KmpOptimization

Added in 8.2.0-beta03

@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

Added in 8.2.0-beta03
val consumerKeepRules: ConsumerKeepRules

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

keepRules

Added in 8.2.0-beta03
val keepRules: LibraryKeepRules

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

minify

Added in 8.2.0-beta03
var minify: Boolean

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

Added in 8.2.0-beta03
val testKeepRules: ConfigurableFiles

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