ScopedArtifacts

public interface ScopedArtifacts


Scoped artifacts are artifacts that can be made available in the current variant scope, or may be optionally include the project's dependencies in the results.

This is only available for elements that are part of the com.android.build.api.artifact.ScopedArtifact hierarchy.

Summary

Nested types

public enum ScopedArtifacts.Scope extends Enum

Defines possible scopes.

Public methods

abstract @NonNull ScopedArtifactsOperation<@NonNull T>
<T extends Task> use(@NonNull TaskProvider<@NonNull T> taskProvider)

Access Task based operations.

Public methods

use

abstract @NonNull ScopedArtifactsOperation<@NonNull T> <T extends Task> use(@NonNull TaskProvider<@NonNull T> taskProvider)

Access Task based operations.

So far, all operations are only accessible providing a Task instance.