ConsumerKeepRules

Added in 8.2.0

@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 com.android.build.api.dsl.ConfigurableFiles
Unit
Unit
@Incubating
files(vararg files: Any)

Public properties

ignoreFrom

Added in 8.2.0
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

Added in 8.2.0
var ignoreFromAllExternalDependenciesBoolean

Ignore keep rules from all the external dependencies.

publish

Added in 8.2.0
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