LibraryKeepRules

@Incubating
public interface LibraryKeepRules extends ConfigurableFiles


Summary

Public methods

abstract @NonNull Set<@NonNull String>

Ignore keep rules from listed external dependencies.

abstract boolean

Ignore keep rules from all the external dependencies.

abstract void
@Incubating
setIgnoreFromAllExternalDependencies(
    boolean ignoreFromAllExternalDependencies
)

Ignore keep rules from all the external dependencies.

Inherited methods

From com.android.build.api.dsl.ConfigurableFiles
abstract void
abstract void
abstract @NonNull List<@NonNull File>

Public methods

getIgnoreFrom

@Incubating
abstract @NonNull Set<@NonNull StringgetIgnoreFrom()

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.

getIgnoreFromAllExternalDependencies

@Incubating
abstract boolean getIgnoreFromAllExternalDependencies()

Ignore keep rules from all the external dependencies.

setIgnoreFromAllExternalDependencies

@Incubating
abstract void setIgnoreFromAllExternalDependencies(
    boolean ignoreFromAllExternalDependencies
)

Ignore keep rules from all the external dependencies.