KeepRules

Added in 7.3.0

@Incubating
interface KeepRules

DSL object for external library dependencies keep rules configurations.

Summary

Public functions

Unit

This function is deprecated. Renamed to ignoreFromAllExternalDependencies

Unit

This function is deprecated. Renamed to ignoreFrom

Unit

Ignore keep rules from listed external dependencies.

Unit

Ignore keep rules from all the external dependencies.

Public functions

ignoreAllExternalDependencies

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

ignoreExternalDependencies

Added in 7.3.0
Deprecated in 8.4.2
@Incubating
fun ignoreExternalDependencies(vararg ids: String): Unit

ignoreFrom

Added in 8.4.2
@Incubating
fun ignoreFrom(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.

ignoreFromAllExternalDependencies

Added in 8.4.2
@Incubating
fun ignoreFromAllExternalDependencies(ignore: Boolean): Unit

Ignore keep rules from all the external dependencies.