# SingleArtifact.ASSETS

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


```
object SingleArtifact.ASSETS : SingleArtifact<Directory>, Artifact.Replaceable, Artifact.Transformable
```

<br />

|---|---|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||||
| ↳ | [com.android.build.api.artifact.Artifact](https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/artifact/Artifact) ||||
|   | ↳ | [com.android.build.api.artifact.Artifact.Single](https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/artifact/Artifact.Single) |||
|   |   | ↳ | [com.android.build.api.artifact.SingleArtifact](https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/artifact/SingleArtifact)\<[Directory](https://docs.gradle.org/current/javadoc/org/gradle/api/file/Directory.html)\> ||
|   |   |   | ↳ | [com.android.build.api.artifact.SingleArtifact.ASSETS](https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/artifact/SingleArtifact.ASSETS) |

*** ** * ** ***

Assets that will be packaged in the resulting AAR, APK or Bundle.

When used as an input, the content will be the merged assets. For the APK, the assets will be compressed before packaging.

To add new folders to `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/artifact/SingleArtifact.ASSETS`, you must use `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/Sources#assets()`

## Summary

### Inherited functions

From [com.android.build.api.artifact.Artifact](https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/artifact/Artifact) `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/artifact/Artifact#getFolderName()()` `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/artifact/Artifact#name()()`

Provide a unique name for the artifact type.
From [com.android.build.api.artifact.SingleArtifact](https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/artifact/SingleArtifact) `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/artifact/SingleArtifact#getFileSystemLocationName()()`

### Inherited properties

From [com.android.build.api.artifact.Artifact](https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/artifact/Artifact) `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/artifact/Artifact.Category` `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/artifact/Artifact#category()` `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/artifact/ArtifactKind<https://docs.gradle.org/current/javadoc/org/gradle/api/file/Directory.html>` `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/artifact/Artifact#kind()`