ConsumerKeepRules

@Incubating interface ConsumerKeepRules : ConfigurableFiles


Summary

Public properties

MutableSet<String>

Ignore keep rules from listed external dependencies.

Boolean

Ignore keep rules from all the external dependencies.

Boolean

Publishing consumer proguard rules as part of a kmp library is an opt-in feature.

Inherited functions

From class com.android.build.api.dsl.ConfigurableFiles
@Incubating Unit
file(file: Any)
@Incubating Unit
files(vararg files: Any)

Public properties

ignoreFrom

val ignoreFromMutableSet<String>

Ignore keep rules from listed external dependencies. External dependencies can be specified via GAV coordinates(e.g. "groupId:artifactId:version") or in the format of "groupId:artifactId" in which case dependencies are ignored as long as they match groupId & artifactId.

ignoreFromAllExternalDependencies

var ignoreFromAllExternalDependenciesBoolean

Ignore keep rules from all the external dependencies.

publish

var publishBoolean

Publishing consumer proguard rules as part of a kmp library is an opt-in feature. By default, consumer proguard rules will not be published.

To enable it, set this property to true