ArtifactKind

public sealed class ArtifactKind<T extends FileSystemLocation> implements Serializable


Exhaustive list of artifact file representations supported by the Android Gradle plugin.

As of now, only RegularFile represented by FILE and Directory represented by DIRECTORY are supported.

Summary

Nested types

public static class ArtifactKind.DIRECTORY extends ArtifactKind
public static class ArtifactKind.FILE extends ArtifactKind

Protected constructors

Public methods

abstract @NonNull KClass<@NonNull T>

Protected constructors

ArtifactKind

protected <T extends FileSystemLocation> ArtifactKind()

Public methods

dataType

public abstract @NonNull KClass<@NonNull T> dataType()
Returns
@NonNull KClass<@NonNull T>

The data type used by Gradle to represent the file abstraction for this artifact kind.