ArtifactKind

Added in 4.2.0

sealed class ArtifactKind<T : FileSystemLocation> : Serializable

Known direct subclasses
ArtifactKind.DIRECTORY

A type of artifact file that is a Directory

ArtifactKind.FILE

A Type of artifact that is a RegularFile


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

A type of artifact file that is a Directory

A Type of artifact that is a RegularFile

Protected constructors

Public functions

abstract KClass<T>

Protected constructors

ArtifactKind

protected <T : FileSystemLocation> ArtifactKind()

Public functions

dataType

Added in 4.2.0
abstract fun dataType(): KClass<T>
Returns
KClass<T>

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