KeepRules

@Incubating
public interface KeepRules


DSL object for external library dependencies keep rules configurations.

Summary

Public methods

abstract void

Ignore keep rules from all the external dependencies.

abstract void

Ignore keep rules from listed external dependencies.

Public methods

ignoreAllExternalDependencies

@Incubating
abstract void ignoreAllExternalDependencies(boolean ignore)

Ignore keep rules from all the external dependencies.

ignoreExternalDependencies

@Incubating
abstract void ignoreExternalDependencies(@NonNull String ids)

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.