KeepRules

Added in 7.3.0

@Incubating
interface KeepRules


DSL object for external library dependencies keep rules configurations.

Summary

Public functions

Unit

Ignore keep rules from all the external dependencies.

Unit

Ignore keep rules from listed external dependencies.

Public functions

ignoreAllExternalDependencies

Added in 7.3.0
@Incubating
fun ignoreAllExternalDependencies(ignore: Boolean): Unit

Ignore keep rules from all the external dependencies.

ignoreExternalDependencies

Added in 7.3.0
@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.