# SingleArtifact.ASSETS

# SingleArtifact.ASSETS


```
@Incubating object SingleArtifact.ASSETS : SingleArtifact, 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/8.1/com/android/build/api/artifact/Artifact)                                    ||||
|   | ↳ | [com.android.build.api.artifact.Artifact.Single](https://developer.android.com/reference/tools/gradle-api/8.1/com/android/build/api/artifact/Artifact.Single)                   |||
|   |   | ↳ | [com.android.build.api.artifact.SingleArtifact](https://developer.android.com/reference/tools/gradle-api/8.1/com/android/build/api/artifact/SingleArtifact)                  ||
|   |   |   | ↳ | [com.android.build.api.artifact.SingleArtifact.ASSETS](https://developer.android.com/reference/tools/gradle-api/8.1/com/android/build/api/artifact/SingleArtifact.ASSETS) |

*** ** * ** ***

Assets that will be packaged in the resulting 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 [ASSETS](https://developer.android.com/reference/tools/gradle-api/8.1/com/android/build/api/artifact/SingleArtifact.ASSETS), you must use [com.android.build.api.variant.Sources.assets](https://developer.android.com/reference/tools/gradle-api/8.1/com/android/build/api/variant/Sources#assets())

## Summary

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

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