KeepRules

@Incubating interface KeepRules


DSL object for external library dependencies keep rules configurations.

Summary

Public functions

@Incubating Unit

Ignore keep rules from all the external dependencies.

@Incubating Unit

Ignore keep rules from listed external dependencies.

Public functions

ignoreAllExternalDependencies

@Incubating
fun ignoreAllExternalDependencies(ignore: Boolean): Unit

Ignore keep rules from all the external dependencies.

ignoreExternalDependencies

@Incubating
fun ignoreExternalDependencies(vararg ids: String): Unit

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.