# ArtifactKind.FILE

# ArtifactKind.FILE

[View Source](https://cs.android.com/search?q=file:com/android/build/api/artifact/ArtifactKind.kt+class:com.android.build.api.artifact.ArtifactKind.FILE)  
Added in 4.2.0  

<br />

```
object ArtifactKind.FILE : ArtifactKind
```

<br />

|---|---|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                                                        |||
| ↳ | [com.android.build.api.artifact.ArtifactKind](https://developer.android.com/reference/tools/gradle-api/8.10/com/android/build/api/artifact/ArtifactKind)              ||
|   | ↳ | [com.android.build.api.artifact.ArtifactKind.FILE](https://developer.android.com/reference/tools/gradle-api/8.10/com/android/build/api/artifact/ArtifactKind.FILE) |

*** ** * ** ***

A Type of artifact that is a[RegularFile](https://docs.gradle.org/current/javadoc/org/gradle/api/file/RegularFile.html)

## Summary

|                                                                                       ### Public functions                                                                                        |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|
| `open `[KClass](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html)`<`[RegularFile](https://docs.gradle.org/current/javadoc/org/gradle/api/file/RegularFile.html)`>` | [dataType](https://developer.android.com/reference/tools/gradle-api/8.10/com/android/build/api/artifact/ArtifactKind.FILE#dataType())`()` |

## Public functions

### dataType

```
open fun dataType(): KClass<RegularFile>
```  

|                                                                                          Returns                                                                                           |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------|
| [KClass](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html)`<`[RegularFile](https://docs.gradle.org/current/javadoc/org/gradle/api/file/RegularFile.html)`>` | The data type used by Gradle to represent the file abstraction for this artifact kind. |